sharing internet conection
From: G (dario.grdanNOSPAM_at_bj.hinet.hr)
Date: 09/03/03
- Next message: Eireann Kelly: "Re: Connecting to Linux machine remotely"
- Previous message: jack: "Re: IP MASQ won't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 3 Sep 2003 09:04:20 +0200
i still dont get this, so, pleasae can someone help me more
i have isdn asus modem, and i dont know where is instaled, i try to install
conexant int. modem but it didnt work and my isdn modem , started to work
instead of conexant... i dont know how
so i dont know how to share my internet connection or what to do next
i can do to internet
my lan is working.... and i am stucked now
pleayse some help
is there any gui kind of way to share this or ?
G wrote:
> ok, sorry about my english
>
> i wanted to ask how to share my internet conection on MANDRAKE PC
> not windows
> i know all that i have to know about windows
> i am new with Linux
I'm also new.
> and btw, i dont want to use DHCP, i want to specify my IP adresses
Ok, I'm running Slackware linux, but I think it should work the same.
First, I am assuming you are using eth0 to connect to the internet, and
eth1 to connect to your windows XP computer.
I'm also assuming both your nics are working and properly configured
(or, if you're using a modem, your one nic is configured)
First, in /etc/rc.d, make a file called "rc.firewall" (no quotes, of course)
In it put the following:
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Where eth0 is the device connected to the internet.
From a command line make it executable (cd to the directory it's in,
and type "chmod +x rc.firewall")
Now set your windows computer to use your Linux's computer as it's
gateway, but make sure you use the DNS server that your ISP provides.
Otherwise you will be able to ping a site by it's IP address, but not be
able to connect to it through it's name.
- Next message: Eireann Kelly: "Re: Connecting to Linux machine remotely"
- Previous message: jack: "Re: IP MASQ won't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|