Hi all,<br><br>I am relatively new to both Ubuntu and Linux, and I'm trying to figure out how to secure my computer with a firewall.<br>My previous attempt with Firestarter was rather miserable, since it screwed up my home network.  
<br>I've reinstalled my system, and this time I want to just use iptables, without firestarter.<br><br>Situation:<br>I am a pretty average user, and need little more than http, https, and possibly ftp.  I probably won't need to have ssh open or anything else like that.  My computer is connected to a home network via an ethernet router, along with two other computers running Windows XP.  I don't want to lose connection to those -ie I want to be able to view shares.  
<br>I've read a bit about iptables, and know how to add rules.  The only thing is, I'm not sure what rules to add.<br>So, my question is, does anyone have a script or a set of rules for a setup similar to mine that they'd be willing to share?
<br>Also, if I'm not mistaken, iptables rules added at the command line are not saved by default.  I seem to remember to ways of saving them: (please correct any errors/fill in any gaps)<br>using iptables-save and -restore lines to save and load rules from a file in /etc/network/interfaces
<br>writing a bash script and putting it somewhere (I remember there was an initrc file or directory, but I forget the exact location) so that it runs on boot<br><br>Thanks in advance!<br><br>Jimmy<br><br>PS - my current iptables set up is accept all: not very secure
<br><br>Chain INPUT (policy ACCEPT 2504 packets, 1703K bytes)<br> pkts bytes target     prot opt in     out     source               destination         <br><br>Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)<br> pkts bytes target     prot opt in     out     source               destination         
<br><br>Chain OUTPUT (policy ACCEPT 2599 packets, 520K bytes)<br> pkts bytes target     prot opt in     out     source               destination         <br><br>