Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Converting ipfw.conf to iptables?



On Tue, Mar 03, 2009 at 08:58:08AM -0500, Scott R. Ehrlich wrote:
> I recently received an ipfw.conf file from a friend's BSD box I was asked 
> to translate to Linux's iptables.   From what I've seen thus far, CentOS 
> has /etc/sysconfig/system-config-securitylevel that doesn't seem that 
> expansive.
> 
> I haven't fully ventured into the Ubuntu firewall config, yet.
> 
> What is the best, easiest way to perform the conversion for both CentOS 
> (5, 5.2) and Ubuntu (8.04, 8.10).

Step 1: convert into pseudocode, looking carefully at the ipfw
manual pages so you don't miss something.

Step 2: convert from pseudocode into iptables, looking carefully
at the LART/C and packet filtering docs to make sure you don't
miss something.

Step 3 (optional): optimize.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.

You can't defend freedom by getting rid of it.






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org