>/sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
>/sbin/ifconfig eth1 192.168.1.1 broadcast ${BROADCAST} netmask ${NETMASK}
>/sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0
>/sbin/route add -net 192.168.1.0 netmask 255.255.255.0 eth1
>ipfwadm -F -p deny
>ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0

Don't forget, there is a specific IPAUTOFW or IPPORTFW program that
came with that code.  You need to compile that up and run it
with the proper command line options.

--David
 .----------------------------------------------------------------------------.
 |  David A. Ranch  - Remote Access/Linux/PCs       [EMAIL PROTECTED]  |
 !----                                                                    ----!
 `----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to