LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: The TopCat <tobyjc@hotmail.com>
  To  : spence@senet.com.au
  Date: Mon, 28 Jul 1997 09:17:20 PDT

Re: Linux as a Wingate Client

>My wife's machine is running win95 and Wingate2 software as a proxy
>server (of sorts).  We are connected using a couple of 3com 3C503
>cards.    Normally she is online most of the night with an unlimited
>type PPP account and I just run my win95 email prog (Agent) on my
>machine which gathers all my mail through her Wingate setup.
>
>This scheme has led to me being dependant on my Win95 setup for net
>access so Linux only gets a look in when I'm really bored.
>
>Anyway, I couldn't see why it wouldn't work at my end using Linux so I
>gave it a shot.   Limited success with me being able to post via SMTP
>through her machine and being able to telnet to remote sites through
>her machine.
>
>I haven't quite got the settings right for accessing my pop mail
>account  though.   This is probably due to a lack of practice with
>Linux/Unix type mail transfer agents.
> 
>I'm aware that the Linux machine would probably be a better choice for
>the Net connection but my SO uses a couple of programs that just won't
>cope through a LAN.
First of all - I reccommend using your linux machine to connect to the 
internet, and then just recompile your kernel to include ip 
masquerading, and enable ip masquerading. 
I use these lines in /etc/rc.d/rc.local

ipfwadm -F -v -p deny
ipfwadm -F -v -a m -S 192.168.0.0/24 -D 0.0.0.0/0

You'll prolly want to the load the various modules, etc. 
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_irc
etc.

Then just set the win95 machine to use your linux machine as a gateway 
in the tcp/ip config in the network section in the control panel.
(ie. your netcard should have something like 192.168.0.1 as its address 
- your ppp device should get a dynamic IP I assume, which will be 
seperate. Assign the netcard in the win95 machine an ip like 
192.168.0.2, with a gateway of 192.168.0.1) To test the link, try 
telnetting to your linux machine (at 192.168.0.1) from the win95 
machine, when neitehr is connected tio the intenet.

-----------------------
Alternatively, to make your linux machine use the win95 to goto the 
internet, you should really only have to change the gateway settings on 
your netcard...However, I haven't really tried this direction in 
practice, so I am just assuming that wingate works like ipfwadm for 
linux does. (To change the gateway, just fiddle with ifconfig a 
little.))

ANywayz,
cu()
TopCat


...Careful with that axe, Eugene!


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page