Mailinglist Archive: opensuse-security (359 mails)

< Previous Next >
Re: [suse-security] Problems with a simple Firewall2 config
>There are no services ON THE FIREWALL that need to be accessed (I
>allready ran into this problem ;-), they are all on serveres in either

Oops, i misunderstood you.

>I changed my configuration, just to test. This is how (excerpt) it
> FW_MASQ_NETS=",0/0,tcp,20,0/0,tcp,21
> FW_FORWARD_MASQ="0/0,,tcp,80"

Looks good so far

> FW_FORWARD_MASQ="0/0,,tcp,80"

This is opening any destination port/protocol(icmp,udp,tcp) for inside
boxes to get routed through the firewall.

>It will work with my test-configuration, but then again, any user could
>use any service on the external net, and that is not wanted only FTP and

>How can I solve this, whitout doing something like this:
> FW_MASQ_NETS=",0/0,tcp,20,0/0,tcp,21
> FW_FORWARD_MASQ="0/0,,tcp,80"

Using the firewall-script this ist the right way to limit the services to be
from the inside.

The other way ist to disable masquaring und routing for the internal network
completely and to setup following: (cacade, if you want so)

and ftp-proxy from here

It is, all in all, the better and more secure solution and you can setup
this fully
tranparent to internal network.

Hope that helps.



< Previous Next >
Follow Ups