Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-01-2003, 12:18 AM   #1
Registered: Aug 2003
Location: Austarlia
Distribution: redhat 7.3 & 9, Mandrake
Posts: 39

Rep: Reputation: 15
internet sharing rehat 7.3 & win98

I am trying to get my redhat box to allow internet sharing with a win 98 machine. My connection is via satellite and that works fine from the linux box. The machines can ping each other both by IP address and name. Samba is up and working as is webmin.
Linux box
Old 08-01-2003, 02:17 AM   #2
LQ Newbie
Registered: Jul 2003
Location: Jakarta - Indonesia
Distribution: Red Hat Linux
Posts: 1

Rep: Reputation: 0
Try the following:

1. Ensure that ipchains package not installed :
$rpm -e ipchains

2. Ensure that iptables installed :
$rpm -q iptables

3. Load iptables modules:

modprobe ip_tables
modprobe iptable_filter
modprobe iptable_mangle
modprobe iptable_nat
modprobe ip_conntrack
modprobe ip_conntrack_ftp
modprobe ipt_state
modprobe ipt_limit
modprobe ipt_LOG
modprobe ipt_TCPMSS
modprobe ipt_TOS

4. Create the following scripts (rc.iptables-minimum) and run:

iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -t nat -A POSTROUTING -s ${LAN_NET} -d ! ${LAN_NET} -j SNAT --to-source ${EXT_IP}
Old 08-01-2003, 07:39 AM   #3
LQ Newbie
Registered: Apr 2001
Location: Home, UK
Distribution: Redhat 7.2/7.3/8/9
Posts: 1

Rep: Reputation: 0
Internet sharing with Redhat 7.3

I found one the best sites for information is The Linux Documentation Project, the How-To section contains lots of info. I used the Home Networking Mini How-To to configure my server.

Hope this helps.
Old 08-01-2003, 07:47 AM   #4
LQ Newbie
Registered: Mar 2003
Posts: 3

Rep: Reputation: 0
Talking Easy way out

The easy way out in this case ( you dont mention a firewall btw )
is to use an application called Firestarter.

It will set up ip masquerading and configure an excellent
firewall in a few clicks.It's simple and efficient.

Check it out.

Old 08-01-2003, 10:04 AM   #5
Registered: Aug 2003
Location: Austarlia
Distribution: redhat 7.3 & 9, Mandrake
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks for the replies I fouud an input to iiptables that got me out of trouble in a previous post, but am checking ouy Fitrestarter
Old 08-03-2003, 09:13 PM   #6
LQ Newbie
Registered: Feb 2003
Location: Western PA.
Distribution: Debian
Posts: 2

Rep: Reputation: 0
internet connection sharing windows from a linux box.

I had the same problem doing the same thing as you. I solved it by installing internet connection sharing on the windows machine and creating the client floppy disk. I then uninstalled internet connection sharing and ran the floppy then windows was able to see the internet connection on the redhat box and all has worked fine since. That was the easy way out for me. Take care, Ed


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
ssh over internet connection sharing (win98) andra Linux - Networking 1 09-20-2005 12:37 PM
Sharing a win98 internet connection with RH9 sausagejohnson Linux - Networking 3 06-09-2004 01:47 PM
WIN98 & SAMBA Sharing nbjayme Linux - Networking 8 12-11-2003 04:50 AM
internet sharing rehat 7.3 & win98 creznedmick Linux - Networking 2 08-01-2003 10:01 AM
Internet connection sharing with win98 RecoilUK Linux - Networking 10 10-30-2001 07:08 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:06 AM.

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