fsvara
03-16-2001, 12:31 PM
I am building a Linux router for my DSL connection. I have got it to masquerade my LAN with the following ipchains commands (dumbly copied from a tutorial):
ipchains -M -S 7200 10 160
ipchains -P forward DENY
ipchains -A -s 192.168.0.0/255.255.255.0 -j MASQ
This works.
Now I'd like to know how I get it to become a fairly secure firewall. I have the ipchains HOWTO, so actually USING ipchains won't be the problem, just what to do with it.
And btw, what does ipchains -M -S 7200 10 160 mean? I know it's something about timeouts, but what exactly? 7200 seems quite much for a timeout to me, if it is measured in seconds...
fsvara
ipchains -M -S 7200 10 160
ipchains -P forward DENY
ipchains -A -s 192.168.0.0/255.255.255.0 -j MASQ
This works.
Now I'd like to know how I get it to become a fairly secure firewall. I have the ipchains HOWTO, so actually USING ipchains won't be the problem, just what to do with it.
And btw, what does ipchains -M -S 7200 10 160 mean? I know it's something about timeouts, but what exactly? 7200 seems quite much for a timeout to me, if it is measured in seconds...
fsvara