DSL Tips and Tricks :: automatic dsl firewall



Thanks for the tip. ZoOp. I just wrote the path into a script, so I can turn it on and of with "bash start_firewall" or "bash stop_firewall".  Have you found some conflict where you needed to turn it off?
none conflict found, but I just didn't want to have it all time on because I want to keep my access to my betaftpd.
yours
z

If you want the firewall to start automatically when the system starts up you can add symbolic link in the correct rc?.d directory (i.e. in /etc/rc2.d add a sym link ln -s /etc/init.d/rc.firewall S99firewall).  This will call /etc/init.d/rc.firewall start automatically, the 99 in the filename is used because the init starts at 0 and goes through starting each one in order using number first then alphabetical for each one with the same number.  You can also add a kill symlink in other directories if you wish (i.e. in rc6.d you would have K03firewall) to send the stop command (again the 03 is used because you usually want the last things started to stop first).
I haven't used a firewall ever even on windows. You just have to make sure there isn't some F'ed up gaping security hole program starting up when you run your system. And don't run anything with potential security problems. Still have problem with certain minor malware so I use scanners and you could try using wget, netcat, telnet to download webpages thereby preventing any sort of funky html plugin hacks. Firewalls are mainly for servers or people whom know what they're doing.
Correct me if I'm mistaken, but isn't these firewall packages in linux just a script to harden the iptables a little more?

Meaning that all linux systems do/should have iptables. So even without these firewall packages, you still have a generic set of iptables.

Next Page...
original here.