[ale] iptables

Paul Cartwright ale at pcartwright.com
Fri Jan 16 15:38:57 EST 2009

I setup a web server, and ran this command:
 iptables -I INPUT -p tcp -m state --state NEW --dport 80 -i eth0 -j ACCEPT

so now you can get to my web server from other PCs.. but when I rebooted, I 
had to run that command again.
where do I put this command, so it will be there NEXT time I reboot??

I setup nginx and gallery2 to put up almost instant pictures on a web site..
fast and easy ( when iptables lets you GET to it..)

Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459

More information about the Ale mailing list