Linux as Proxy (Socks?) Router Question

Linux as Proxy (Socks?) Router Question

Post by James Bye » Wed, 28 Feb 1996 04:00:00



        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!


 
 
 

Linux as Proxy (Socks?) Router Question

Post by David Monhei » Wed, 28 Feb 1996 04:00:00



>         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!

David.

 
 
 

Linux as Proxy (Socks?) Router Question

Post by Craig Schlent » Thu, 29 Feb 1996 04:00:00





>>         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 am using SOCKS to do this but it is apparently possible to use the
IP MASQUEARADE option of newer kernels to achieve a similar thing. The
FAQ is apparently on ftp.eves.com.

--Craig

 
 
 

Linux as Proxy (Socks?) Router Question

Post by Berend_W_van_Bemm » Fri, 01 Mar 1996 04:00:00



>        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!


Hya,

I use the masquerading patch (oops, forgot where I got it, but it
somewhere on the popular ftp sites) for doing this. If you combine it
with the diald program you can even do connect on demand for non-offical
subnets.

Good luck,

Berend W. van Bemmel
--
+ Berend W. van Bemmel +----( this space is not for rent!   )-----+

+ www: http://www.xs4all.nl/~bemmel + home phone:(+31)(20)6257390 +

 
 
 

Linux as Proxy (Socks?) Router Question

Post by Michael Dill » Tue, 12 Mar 1996 04:00:00





>>         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