Jump to content

Recommended Posts

Posted

Hi,

 

Further to this post:

http://www.edugeek.net/forums/windows/76265-run-simple-webserver-ftp-access.html

 

I've hit upon a few problems I would like to resolve:

 

1. When I try to start the firewall it fails, the shorewall-init.log states : "Compiling /etc/shorewall/zones....." ERROR: No IP zones defined

 

2. I created an initial user "sadmin" with an associated password....and I wish to have another user - how do I create a new user that can edit the website via the sftp software?

 

Thanks.

Posted

Hi,

 

I followed this comnmand:

sudo cp /usr/share/doc/shorewall-common/examples/one-interface/* /etc/shorewall/

 

which was slightly wrong but I correct it as the install location was different - however I checked the following files and all seemed to have info. in them...

zones

policy

rules

 

In the ZONES file it says:

 

Zone Type

fw firewall

net ipv4

Posted
Hi,

 

I followed this comnmand:

sudo cp /usr/share/doc/shorewall-common/examples/one-interface/* /etc/shorewall/

 

And added HTTP and SSH accepts in rules file?

 

Steve

Posted

yep the rules file says:

 

Ping(REJECT) net $FW

SECTION NEW

ACCEPT $FW net icmp

HTTP(ACCEPT) net $FW

SSH(ACCEPT) net $FW

 

 

Thanks for helping out....

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...