Author: Dan Larsson
Date: 31-10-00 12:03
You should try the *BSD type masq-type-solution, NATD.
Here's a shortlist of what you'd need to do to use it:
+ Recompile your kernel with the option IPDIVERT
+ Add the following to your /etc/rc.conf
natd_interface="<nic with real internet address>"
+ Add a few basic things to your /etc/rc.natd file:
echo -e "same_ports
+ Reboot and enjoy!
This works for me!
Note that you're probably better off creating your own 'firewall_type' to suit
your needs better. To read more about this check out the man pages for
'ipfw' and 'natd'.