Hello all,
I am a longtime user of FreeBSD and IPFW. However, my friend just inspired me with Solaris 8.0 (for Intel). I install Solaris on a PC and then install the IPF (the latest version)... Everything went smoothly. I also download the 57 pages IP Filter Based Firewalls HOWTO... However, is there a quick conversion from the IPFW rule to the IPF rules (when I compile the IPF, I did change the Makefile so it reads FR_BLOCK)... Here are my IPFW rules (by default it blocks everything too.)
/sbin/ipfw add 00050 divert 8668 ip from any to any via de0
/sbin/ipfw add 00100 allow ip from any to any via lo0
/sbin/ipfw add 00200 deny ip from any to 127.0.0.0/8
/sbin/ipfw add 00200 deny ip from 127.0.0.0/8 to any
/sbin/ipfw add 00300 allow ip from 192.168.1.0/24 to any
/sbin/ipfw add 00300 allow ip from MYEXTERNAL_IP to any
/sbin/ipfw add 00400 allow tcp from any to 192.168.1.0/24 established
/sbin/ipfw add 00400 allow tcp from any to MYEXTERNAL_IP established
/sbin/ipfw add 00500 allow udp from any to any 53
/sbin/ipfw add 00500 allow udp from any 53 to any
/sbin/ipfw add 00600 allow icmp from any any
/sbin/ipfw add 65000 deny log ip from any
I know that we do not need the first rule since I will be using ipnat.conf... but can somebody help me to "translate the rest of the rules"? Million thanks.
JD
