Linux uses iptables for firewall / ICS / port forwarding .....
If you open a terminal screen and type: setup, this will bring up a small setup menu. The second item on the list is Firewall configuration. You can use this for a basic firewall or you can add commands directly. I have a firewall script which has a bunch of commands already setup in it. Sometimes it helps to use a program like Firestarter or a script generator to get things started.
If you dig around on this site and / or google for linux iptables scripts, you should pick up a few tips.
|