Quote:
Originally Posted by magnoliablossom
I have a few questions about this...Some may sound a little dumb but I'm new to Linux.
1. How do you execute a script?
|
It depends. For a firewall script, it needs to be setup to run at boot, before your network connection is activated. How to do this, depends on your distro.
Quote:
2. One of the things I like about Linux is that I don't HAVE to use a firewall because firewalls slow down your internet performance. Will this script slow it down as well?
|
A firewall shouldn't slow your internet connection by any significant amount. Certainly not a decent one like IPTABLES anyway. You
do have to use a firewall on Linux - just because you live in a good neighbourhood doesn't mean that you don't lock your doors.
Quote:
3. If something should go wrong with this script, how would I remove it?
|
How do you mean? You will basically have to edit the script and change the iptables rules.
Quote:
4. Would I still be able to use messengers and receive files from friends?
5. Could I still use p2p software?
|
This shouldn't block outbound connections, but you may need to add rules to open ports from some P2P and IM software.
Quote:
6. Is this how I would set it up for dial-up as well?
|
You don't really need a firewall on dial-up, because you are not connected for long enough.
Basically, most Linux "Firewalls" are just frontends to IPTABLES, which is built into the kernel. This script that win32sux as posted is just shell script that sets rules for IPTABLES to follow.
I would suggest Firestarter, which is also a frontend to IPTABLES. It write a script, that is run automatically on boot. While it may be overkill for most desktops, it is possibly easier than trying to understand complex IPTABLES rules.
I hope this helps
--Ian