>> I am attempting to connect a Win95 machine via ethernet to the
>> internet without its own IP. I wish to connect the machine to a Linux box
>> (with 2 ethernet devices, one to the 'net, one to Win95) so that it has full
>> internet access. However, I only have one IP (currently the Linux box). Is
>> there any way the Linux machine can route packets to the Win95 machine
>> _without_ socks or an equivalent proxy server? If not, what is the best proxy
>> server for the job? Thanks in advance!
>I have been trying to do the same thing, with the difference that my
>linux machine has one ethernet card ( which connect to the PCs ) and a
>PPP connection to the internet. I am most interested in whatever
>answers you get!
I have a network of 5 machines at home connected to my dedicated Internet
connection over PPP using only ONE IP address. Here's how.
First, I am using RFC1918 addresses on my local Ethernet. Anybody can use
these addresses without registering but they cannot be routed through the
Internet. So all my machines have addresses like 10.1.1.1, 10.1.1.3, etc..
On the machine with the PPP connection, I am running proxy servers to
allow the other machines to get access to the Internet. First of all, I
am running the CERN httpd (now the W3 httpd) as a proxy server to forward
http, gopher and ftp requests traffic to the Internet. More info at
http://www.w3.org/httpd/ This works with Netscape on both Linux and
Windows machines by setting up the Manual Proxy configuration in the
Options to make it talk to the CERN proxy. I can also use Lynx and Mosaic
from a workstation (not the gateway one) by setting environment variables
like
http_proxy=http://the.gateway.machine:8080/
ftp_proxy=http://the.gateway.machine:8080/
gopher_proxy=http://the.gateway.machine:8080/
I am also using the TIS Firewalls Toolkit ftp.tis.com to provide some
other services. For instance, I am running their plug-gw program on
socket 5190 to allow a Windows AOL client to go over the net and on
socket 4144 to allow a Windows Compuserve client to get out. In both
cases you need to find the config file that contains the Internet host
they are talking to (compuserve.com or americaonline.aol.com) and change
it to point at the.gateway.machine. I use another plug-gw to allow NNTP
traffic so I needed to tell my newsreader that the news host is
the.gateway.machine instead of the real news host.
This really covers about 90% of what you would need. My next project is
to set up UDPrelay so that I can run RealAudio through the gateway, but I
know that RealAudio 2.0 will be able to run over TCP/IP, thus plug-gw
should work fine.
--
Michael Dillon Voice: +1-604-546-8022
Memra Software Inc. Fax: +1-604-546-3049