Assuming you are connecting your laptop and linux computer with some kind
of ip protocol, (ethernet, ppp), I think you need to take another look at
masquerading. Masquerading will work for most things. There are kernel
modules that must be loaded for some applications. The ones that need it,
are the applications that must negotiate a different tcp port like ftp for
data and ones that expect your local application to be running on a
specific port like quake. For the later 2.1 series kernels cuseeme, irc,
raudio, ftp, quake, vdolive, are supported. I don't think the 2.0 series
has all of them. Most of the other programs you use, telnet, web surfing,
pop3, imap(another form of getting mail), smtp (for sending mail), ICQ, AOL
Instant Messenger, do not require a module specifically for them, you just
need your kernel setup for masquerading and tell it what to masquerade.
To setup masquerading the win95 laptop must be pointing to the linux
computer as a gateway. For later 2.1 series kernels use ipchains to setup
the rules with something like,
ipchains -A input -j ACCEPT -p all -s 0/0 -d 0/0
ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0/0
ipchains -A output -j ACCEPT -p all -s 0/0 -d 0/0
I'm not sure if the first and last are required, but the middle is.
This is also required on the 2.1 series kernels.
if [ -e /proc/sys/net/ipv4/ip_forward ] ; then
echo "1" > /proc/sys/net/ipv4/ip_forward ; fi
For the 2.0 series use,
ipfwadm -F -a m -P all -S 192.168.0.0/24 -D 0/0
We use it at work for our win95 computers, and the good thing is you don't
even have to worry about setting proxy settings.
I would say to take another look at masquerading, it just might be a much
simplier solution than you think.
-- +---------------------------------+ | David Fries | | dfries@mail.win.org | +---------------------------------+ - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu