Tech Journal Back to Tech Journal

Simple Masquerading Under Linux

All you need to do is run the following, after connecting to the Internet:

echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/ipfwadm -F -a m -S 192.168.1.0/25 -D 0.0.0.0/0
Last updated on 2001-01-12 14:00:00 -0700, by Shalom Craimer

Back to Tech Journal