LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2003, 12:42 PM   #1
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Rep: Reputation: 30
Question Help with Internet Connection Sharing using Mandrake please


I have no Idea where to start on this so here's quick outline of my setup and how I would like it to work...

I have 3 PC's all networked together using WIN XP PRO and setup using home & small business networking wizard (I have little networking knowledge).

I have recently discovered that Linux is well cool and Bill Gate can kiss my... well anyway, the PC I have Mandrake on is also the gateway in XP using my speedtouch USB modem. How can I set linux up to act as the gateway (ie ICS) without touching the other 2 PC's so they still connect as normal when I boot into XP on the gateway PC?

In short, how do I setup ICS in Mandrake 9.1 without messing things up in XP or on the other 2 PC's.

I hope that makes sence to anyone that maybe able to help.

Thanks in advance

Steve
 
Old 07-09-2003, 06:10 PM   #2
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
If you want to do it manually, load the following modules, with the following commands :

"su -"
<root password>

"/sbin/modprobe iptable_nat"
"/sbin/modprobe ip_nat_ftp"
"/sbin/modprobe ip_conntrack_ftp"

Then, setup the masquerading functionality of iptables (the Linux firewall) :

"/sbin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE"

(eth1 is the 'external' network card in this example)


After this turn on IP forwarding :

"/bin/echo 1 > /proc/sys/net/ipv4/ip_forward"

If believe Mandrake Linux also has a 'wizard' for doing this kind of stuff, it is called "DrakGW".

Last edited by cropcircle; 07-09-2003 at 06:12 PM.
 
Old 07-09-2003, 06:19 PM   #3
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
thanks everso much for your reply.

It looks a bit heavy for a newbie

I assume I type that lot in a line at atime as root pressing enter after each line??
 
Old 07-09-2003, 06:49 PM   #4
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
OK, let's take a few steps back. :-)

What happens if you start the program "drakgw"?
 
Old 07-11-2003, 05:03 PM   #5
Stevetgn
Member
 
Registered: Jun 2003
Distribution: SuSE10, Mepis,
Posts: 230

Original Poster
Rep: Reputation: 30
"drakgw"? sorry for been so thick, but whats that?

You're now thinking "god this is going to be difficult" Sorry I'm very good with windows just a total Linux newbie
 
Old 07-13-2003, 06:16 AM   #6
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
I found some information on the Mandrake site, which might be useful for you :

http://doc.mandrakelinux.com/Mandrak...onf-intro.html
http://doc.mandrakelinux.com/Mandrak...ml/drakgw.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Connection Sharing Mandrake 10.0 smadim2 Linux - Networking 3 06-24-2004 02:12 AM
Mandrake 9.0 and internet connection sharing tronchaser Linux - Hardware 0 02-26-2004 08:48 AM
Internet connection sharing using Mandrake 9.2 doctorwebbox Linux - Networking 0 02-04-2004 04:06 PM
Mandrake Internet Connection Sharing! MStegm3012 Linux - Networking 1 01-08-2004 05:49 AM
Mandrake 8.2 Internet Connection Sharing opera_sys Linux - Networking 1 10-13-2002 02:48 AM


All times are GMT -5. The time now is 10:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration