On Sun, 29 Dec 2002 01:09:17 +0000
Derek Jennings <[EMAIL PROTECTED]> wrote:

> On Saturday 28 Dec 2002 4:10 pm, Kristjan wrote:
> > Hi
> >
> > One short question
> > I want to have httpd enabled over lan but disabled to internet, so that I
> > can serve webpages to my LAN only.
> >
> > Also I want to have remote accsess to my mandrake box over ssh, from LAN,
> > but nowhere else.
> >
> > Probably I need to make some rules to shorewall, but need advise here. Or
> > are there any other places I need to look over ?
> >
> > thanks
> > Kristjan
> 
> Easy enough just edit /etc/shorewall/rules  It is full of examples. Right at 
> the bottom are the actual rules. You will notice there is a line for each 
> combination of traffic; Network to firewall, lan (or masq) to firewall, lan 
> to net and so on. Just put the protocol names or port numbers in the 
> appropriate line (http is port 80, ssh is port 22)
> Then restart shorewall with 'service shorewall restart'
> 
> 
> derek

Thank you Derek
That was easy
but I also had to go throuh all the httpd related config files to make the webs 
actually served over the lan.
The default config was sooo restrictive.

Kristjan

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to