Shorewall Routing Internet access issues
Hi, I've read the Howto's and the extremely helpful threads in this subject, but after four days of changing this and trying that I'm still not having success. OK I installed Mandrake 10.0 official on a dual pentium HP box. I installed shorewall thru drake. I updated shorewall to 2.2.0-1 and successfully copied the files for a two interface setup. I want to use the Linux box as a firewalled router and connect my second box running XP with internet access for both boxes. My Linux box has two nic cards. My ISP provided me with a static ip address and the two dns ip addresses. My topology has been my ISP's modem connected to DLink router connected to a hub and my two boxes connected to that hub(My Linux box accesses the internet with no problem in this setup). I would like to replace the DLink router and use my Linux box instead.Also, I would like to use IP Masquerading SNAT. Can someone please help me make this work? I want to wean away from gui and master the command line so instructions in this format would be awesome. Please instruct if I need to post more info
thank you!!!
Zones file
#ZONE TYPE OPTIONS IN OUT
# OPTIONS OPTIONS
fw firewall
net ipv6
loc ipv6
Policy file
#SOURCE DEST POLICY LOG LEVEL LIMIT:BURST
loc net ACCEPT
net all DROP info
all all REJECT info
FW net ACCEPT
Masq file
#Interface Subnet Address
eth0 eth1 my static isp address
Interfaces file
ZONE INTERFACE BROADCAST
net eth0
loc eth1
/etc/resolv.conf file
nameserver myisp's two dns servers addresses
|