I have four ideia for IPFW2

Alex S. Burba burba at okbmei.ru
Wed Jul 9 16:58:40 PDT 2003


Gregory Bond wrote:

>>My idea is an keyword specific for each interface. 
>>Sample:
>>ipfw add allow ip from any to me_xl0 via xl0
>>    
>>
>
>This is easy to do with a little bit of shell hacking in rc.firewall
>	me_xl0=`ifconfig xl0 | awk '/inet /{ print $2;}'`
>
>Ditto for net_xl0.
>
Ya, that's right.:)

The power of ipfw in its simplicity.




More information about the freebsd-ipfw mailing list