should I make just port 80 available for 192.168.0.3? 192.168.0.3 is a win98 machine with IE5 as browser 192.168.0.1 is the linux box with the masq etc and the apache running. when entered on the winbox: http://localhost/index.html nothing happens.... do you know why? piet zentara wrote:
On Tue, 26 Mar 2002 22:09:15 +0100 PR <prooroa@wanadoo.nl> wrote:
I want to run a apache server (port 80) at 192.168.0.1 what settings must be altered for susefirewal2 when masq is on for 192.168.0.3
Well you have a choice whether you want to "trust" your internal net or not.
For the masquerading get these: FW_DEV_EXT="ppp0" FW_DEV_INT="eth0" FW_DEV_DMZ="" FW_ROUTE="yes" FW_MASQUERADE="yes" FW_MASQ_DEV="$FW_DEV_EXT" FW_MASQ_NETS="192.168.0.0/24"
To give all your INT net access to all your services:
FW_TRUSTED_NETS="192.168.0.0/24"
If you don't want a Trusted net, you can setup each service individually, but the above will get you going.
Don't forget to set the P to P partner in 192.168.0.3, to masqurade thru 192.168.0.1.