Networking Forums

Networking Forums > Computer Networking > Linux Networking > sharing internet conection

Reply
Thread Tools Display Modes

sharing internet conection

 
 
G
Guest
Posts: n/a

 
      09-03-2003, 07:04 AM
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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no internet conection R Wireless Networks 2 11-24-2007 03:28 PM
Wireless internet conection Luiz Wireless Networks 1 04-25-2007 08:44 PM
Ethernet and internet conection Al Broadband Hardware 1 10-13-2004 04:27 AM
Re: sharing internet conection Bill Unruh Linux Networking 0 06-24-2003 05:19 PM
Re: sharing internet conection nunya Linux Networking 0 06-23-2003 10:16 PM



1 2 3 4 5 6 7 8 9 10 11