Results 1 to 8 of 8
hi i am trying to share my internet connection, i have 3 computer 1 with RH 8 and the other 2 with xp.
i can ping all of them but ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-25-2003 #1Just Joined!
- Join Date
- Jun 2003
- Posts
- 1
Can share internet connection
hi i am trying to share my internet connection, i have 3 computer 1 with RH 8 and the other 2 with xp.
i can ping all of them but i can get internet on xp ones.
my dsl connection in up and runnig on RH 8.
Please help.
Thanks in Advance for any help.
- 06-25-2003 #2Linux Engineer
- Join Date
- Mar 2003
- Location
- U.S.A.
- Posts
- 1,025
Since your in a mixed environment it maybe best to using a proxy server on one of the machines and have the rest all look to it for Internet accesss. You could use Win proxies or Linux proxy like squid. Depends on how familar you are with each OS and monies available.
Just my thoughts,Dan
\"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"
- 06-25-2003 #3Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
Download my IPTables script from here:
http://www.jasonlambert.net/download.php
set the options at the top of the script, chmod it 700, then run it. ./<scriptname>
After that, go to each of your XP machines, enter the DNS servers of your ISP, and set the Gateway address on the machine to be that of the internal facing ethernet device in your Redhat Box.
Job done
Jason
- 06-25-2003 #4Linux Engineer
- Join Date
- Mar 2003
- Location
- U.S.A.
- Posts
- 1,025
He's sharing one connection/ip. The firewall is not going to get his machines connected with one real ip. He needs a proxy. Or am I just too tired
Dan
\"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"
- 06-26-2003 #5Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
My firewall script performs packet forwarding, so it acts like a router, therefore no proxy server is needed.
Originally Posted by fastlanwan
Jason
- 07-01-2003 #6Just Joined!
- Join Date
- Jul 2003
- Posts
- 1
Internet Connection Sharing
I have a situation other way round. I have a windows 98 machine which has access to intenet through my CDMA mobile which doesn't work with linux and I would like my linux machines (running SUSE 8.2) to share internet connection with windows machine?
- 07-01-2003 #7Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
tutorials for setting up ICS in win98:
http://www.networklab.co.uk/cmodem/ics.html
http://www.homenethelp.com/ics/ics-install-net98.asp (explanitory)
Jason
- 04-25-2005 #8Just Joined!
- Join Date
- Apr 2005
- Posts
- 12
Jasons Script and Debian woody
Might be worth mentioning that to run jasons iptables script you need to install ipmasq on debian (and possibly most other distros) for it to work. Otherwise a great script and worked a treat for me. Thank you Jason!

One question however concerning the iptabes script, is that all network activity of the computers I share to is outputed to screen and the kernal log. This in not really a problem apart from making my screen and kernal log messy (and a bit bloated). If there is a way to not log this activaty? Below is the format of the messages I get:
Code:Apr 26 11:42:00 dread kernel: IPT: INPUT: IN=eth0 OUT= MAC=00:10:5a:3e:c5:19:00:0b:fc:43:e8:8c:08:00 SRC=82.35.30.93 DST=82.35.233.182 LEN=48 TOS=0x00 PREC=0x00 TTL=124 ID=27988 DF PROTO=TCP SPT=3694 DPT=1433 SE Q=3834740412 ACK=0 WINDOW=64240 RES=0x00 SYN URGP=0


Reply With Quote
