If I understand you correctly, you have a P90 linux box and it has a modem to an ISP while you have Ethernet connections between the computers.

Well, define your gateway device as ppp0, and leave gateway address blank

No real reason to set up dhcp with so few machines.

Make your Linux box look at eth0 as 10.0.0.1

On your windows box

Right Click Network Neighborhood

Click TCP/IP and select "properties"

Give it the IP address 10.0.0.2
Tell it the gateway is 10.0.0.1
Disable WINS reolution

Type in the IPs of the DNS servers your ISP gave you after you ENABLE DNS and put in the hostname of your linux box.  If your ISP didn't give you any, run a traceroute to, say, 195.186.30.244 and pick stuff six or seven hops from you, likely to be near the internet backbone and put THOSE IP numbers in your DNS list.

Then take a browse to

http://metalab.unc.edu/LDP/HOWTO/IPCHAINS-HOWTO-3.html#ss3.1

And those instructions should make everything work, provided you have set up Kppp properly for your modem

If you want to get fancy...

Make this file, or one similar to it....

#!/bin/sh
ipchains -P forward DENY
ipchains -A forward -i ppp0 -j MASQ
echo 1 >  /proc/sys/net/ipv4/ip_forward

and Save it in the appropriate /etc/rc.d/ directory or Save it to your home directory, chmod to make it executable and drag it to the Autostart folder on the K desktop.

After all of that, your windows machine should be able to access the internet with little to no protection from all the exploits out there.  Since you have the URL to look at ipchains, read on and discover how to protect it better and maybe eliminate some of the annoyances from imgis.com and doubleclick.net from that important resource.

Good luck

Civileme

Paul Hendrick wrote:

Hello,

Does anyone know how I culd solve this problem, or provide the URL
with a guide, or a better solution?

"I've just picked up a New Machine and a Ethernet
Hub (100Mb/sec) Netgear FE-104 as well as two PCI Network cards with it
(Both Netgear 100 Mb/sec) and wanted to turn my P90 into pure Linux box to
use as a Dialup machine and a Host for my MUD's Development site so I code
offline.. The other machine is Win(ahem)dows as It's more or less a game's
machiine..  What I'm having trouble with is the actual networking to get
TCP/IP connection outside from the Windows machine.. I've been told to use
Squid but other then that nothing.. And Squid being a bitch to work with..
Was wondering if you knew of a better way or a Guide for SQUID"

Best regards,
 Paul                         mailto:[EMAIL PROTECTED]

-- 
Rejoice, the wait for Windows 2000 is over!
http://www.ms-windows-2000.com/
 


Reply via email to