Click to See Complete Forum and Search --> : Dialup Connection Sharing


Usulsuspct
03-22-2001, 01:40 AM
I am happy to say that I am posting this via, Linux. I would like to however share my dialup connection with my other windows boxes. Is there an easy way to set this up? I tried the Internet Connection Sharing utility with Mandrak 7.2, and I put the gateway address in my linux box however I just get a page in my windows box when I surf the net that talks about apache server and mandrake......nothing from the web? Is there something I am missing?

Helius
03-22-2001, 08:19 AM
If you jsut want surfing the web and download some stuff, the easiest way is to use a proxy. Iv would use Squit for this. But there some other proxys out here. I think there is an NHF on this site about that. An other way is to use ipchains (or iptables,kernel2.4.x).

Btw. Apache is an WebServer...so You don't need it to share your connection.

[ 22 March 2001: Message edited by: Helius ]

Kadesh
03-22-2001, 11:02 AM
???

I've never used any ICS util in Mandrake 7.2 but if I was going to do this, I would...

1a) Undo whatever Mandrake did

1b) Set up the network like:

Linux (internal network)
IP: 192.168.0.1
Netmask: 255.255.255.0

Windows
IP: 192.168.0.2 (increment the last number for each box)
Netmask: 255.255.255.0
Gateway: 192.168.0.1
DNS (nameservers): Whatever Linux is using

2) Get pmfirewall from http://freshmeat.net (gonna have to search)
Install and answer yes to the masquarade/share connection/act as gateway question.

3) Since I play Starcraft, I run "echo 1 > /proc/sys/net/ipv4/ip_masq_udp_dloose" and add the same command to /etc/rc.d/rc.local.