Firewall?
All of the iptables firewall builders I have found are either way too complicated to figure out how to use or dont work right period.
Can anyone point me in the right direction (man pages dont help with crap), or, if you want to be nice write an example firewall script?
thanks!
4 Replies
http://easyfwgen.morizot.net/gen/
-k
[root@li5-11 firewall]# ./rc.firewall
Loading kernel modules …
modprobe: Can't open dependencies file /lib/modules/2.4.26-linode31-1um/modules.dep (No such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.26-linode31-1um/modules.dep (No such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.26-linode31-1um/modules.dep (No such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.26-linode31-1um/modules.dep (No such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.26-linode31-1um/modules.dep (No such file or directory)
net.ipv4.tcp_syncookies = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.icmpechoignore_broadcasts = 1
net.ipv4.conf.all.acceptsourceroute = 0
net.ipv4.conf.all.secure_redirects = 1
net.ipv4.conf.all.log_martians = 1
Flushing Tables …
Create and populate custom rule chains …
Process INPUT chain …
Process FORWARD chain …
Process OUTPUT chain …
Load rules for nat table …
Load rules for mangle table …
hope those kernel modules werent anything special
the firewall seems to work, cause its not responding to pings and i can still connect to it lol.
woot
http://firehol.sourceforge.net/
nice feature is you can test without worrying about being locked out. it gives 30 seconds to type 'commit' and if no response is given, it reinstates previous firewall rules (if any are already applied).