sharing internet conection

From: G (dario.grdanNOSPAM_at_bj.hinet.hr)
Date: 09/03/03


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.



Relevant Pages

  • Repeatedly disconnect from internet (Dial-up Problem)
    ... I can not connect to Internet easily. ... Modem make is Multi Tech System, ... to Internet with O.S Windows 98 but with Window XP ... This connection uses the following items: ...
    (microsoft.public.windowsxp.network_web)
  • Re: Connection to the internet successful - unable to load any website
    ... > When the owner tries to connect to the internet via modem (ISP ... > the connection had been successfully established (the blinking icon in ... > don't have any problems dialing-up to the internet (miscellaneous IP ... > formatting the hard disk and reinstalling Windows)? ...
    (microsoft.public.windowsxp.general)
  • Re: 8 minute connection freeze
    ... > I've been investigating my curious connection freeze for a month now. ... > happens when I connect to my network or to the internet via my modem. ... It's looking like a Windows Explorer cock-up, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: have to re-boot windowsXP
    ... and I use F-Secure for viruses. ... >> have dsl, modem is a Netopia. ... I have windows XP home. ... >> awhile I can't connect to the Internet anymore. ...
    (microsoft.public.windowsxp.network_web)
  • Re: User Accounts - Internet and Firewall Problems
    ... >> WITHOUT a firewall to the internet. ... >> i can get safely online with windows xp pro, ... Alarm, as i was ever satisfied, but now i dont want any ...
    (microsoft.public.windowsxp.security_admin)