« OpenWRT Installed | Main | Bricked... and fixed »

Firewall

It looks like setting up the firewall rules are going to be the trickiest thing here, using the iptables commands. Since I'm replacing an existing router with several existing rules, and I don't want the web/mail server to be down any longer than I have to, I'm going to take some time and learn this stuff before I try swapping things out.

I've seen a number of sample scripts in the OpenWRT forums, so I don't think this should be too terribly difficult once I get to that point. One thing that I'm noticing a lot of is that the commands get repeated over and over for each port/server being processed. Once I get my rules working, it would seem that setting these up in a loop would end up being a lot cleaner to maintain, just add a new server address and the desired ports, and let the code loop through all the dirty work.

TrackBack

TrackBack URL for this entry:
http://www.wrightthisway.com/cgi-bin/mt/mt-tb.cgi/374

About

This page contains a single entry from the blog posted on October 20, 2006 8:17 PM.

The previous post in this blog was OpenWRT Installed.

The next post in this blog is Bricked... and fixed.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33