[2671] in linux-net channel archive
RE: IP Masq
daemon@ATHENA.MIT.EDU (BearHeart / Bill Weinman)
Fri Apr 26 14:23:10 1996
Date: Thu, 25 Apr 1996 23:19:03 -0500
To: Thomas Walker <scoochie@albany.net>,
linux-net <linux-net@vger.rutgers.edu>
From: BearHeart / Bill Weinman <bearheart@bearnet.com>
At 05:17 pm 4/25/96 -0400, Thomas Walker spake:
>Okie...I know that this is more or less a stupid question, but I have
>finally gotten IP Masq to work on a Local level, IE: I can telnet from my
>Windows client to the Linux box, but I can not telnet to the Internet.
>
>Here is my setup:
>(Under rc.local)
>/sbin/ipfwadm -F -p accept
>
>(under rc.inet1)
>/sbin/ifconfig eth0 192.168.1.1
>/sbin/route add -net 192.168.1.1
#########
This is what works for me:
[ This is in rc.inet1 ]
/sbin/ifconfig eth0:0 206.54.188.50
/sbin/ifconfig eth0:1 206.54.188.51
/sbin/ifconfig eth0:2 206.54.188.52
/sbin/ifconfig eth0:3 206.54.188.53
/sbin/ifconfig eth0:4 206.54.188.54
/sbin/route add -host 206.54.188.50 dev eth0:0
/sbin/route add -host 206.54.188.51 dev eth0:1
/sbin/route add -host 206.54.188.52 dev eth0:2
/sbin/route add -host 206.54.188.53 dev eth0:3
/sbin/route add -host 206.54.188.54 dev eth0:4
+--------------------------------------------------------------------------+
| http://www.bearnet.com/ || http://www.weinman.com/wew/
| Author of The CGI Book -- http://www.cgibook.com/