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-11-2003, 09:47 PM   #1
LQ Newbie
Registered: Aug 2003
Location: fort macleod, alberta, canada
Posts: 1

Rep: Reputation: 0
linux server - win98se user - share internet

take your pick: I feel like a fish out of water or a human with no arms or legs in the water.
I have an older box running win98se and I got hit with a virus pretty good that I had to rebuild the computer from scratch. So a "used-to-be-friend" convincined me to try redhat because it had great security. I'm new to Linux and about 3 weeks ago I bought a new computer and downloaded the redhat 9 disks. It came with winxp so I had to format and start from scratch.

I only destroyed the operating system 3 times before I got the hang of it and my tweeking became selective. In about 3 or 4 days I was on the internet checking my e-mail and even started liking linux and redhat. But, now the proof of the pudding was to share my ADSL line with my old computer and the laptop.

It got started with one nic being eth1 to the outside world and the other nic being eth0 for my internal network. eth1 = and eth0 =

I probably didn't need to but I learned about samba and after about a week, I got the win98 to share files on the redhat (only one directory).
Then I found out I needed to have masquerade up and running; so back to the internet to search and find all sorts of docs that didn't really help.
Maybe I had better give some facts:

the ip addrs on the win98 is 192.1682.105/
wins config is enabled and in the wins server search order is (100) and (1.100).
the gatway is set to
dns config is enabled with the host=octo5 and domain=localdomain.
the dns server search order is and and
these are the same sites used when the samba was set up (some sort of default sites).
the bindings are checked to be a client of ms networks and file and print sharing.
the advanced tab has allow bindings to atm with the value of no.
the netbios tab is greyed out.
computer name=octo0.
and access control tab is selecting share level access control.

in the internet properties connection tab/lan tab the top part is set to automatic config.
and the bottom part is selecting use proxy with adrs port 3128 (supposed to be a default port).
and finally, checked is: bypass proxy server for local adrs.

on the redhat server:
got samba up and running.
followed a bunch a different how-toos to set up masquerade.
downloaded the latest and greatest firewalls version 2.4 to work with masq.
all of these how-toos wern't exactly the same setup I have and in fact they talked about ipchains when I think I got iptables.

sorry I took so long to get to this point but this is almost 3 weeks work and I feel like I getting in deeper and in fact I'm way over my head.

I setup 4 windows computer s sharing the internet and it was a breeze compared to this. I'm almost ready to go back to a complete windows system. but I'm in too deep now.

here are some tested facts:
when I enter cat /proc/sys/net/ipv4/ip_forward, I get a 1, and this is supposed to tell me that forwarding is enabled.
from the user, I can ping myself, the internal nic, the external nic and any adrs on the internet.
from the server, I can ping myself, the internal nic, the external nic and any adrs on the internet.

from either the user or the server, I can't telnet anything and I don't know how to turn port 23 on or off.
I worked on this for a couple of days and then tried to telnet from my laptop and that didn't work either; and the laptop is hooked up to the internet thru a switch.

dns doesn't work either and I don't know how to mess with port 53.

I disabled the firewall the came with redhat but you can't seem to fine tune it anyway.

in network neighborhood, I can see the server and the shared folders.

when I click on the internet explorer icon, the window comes up white and on the status bar at the bottom it flashes about detecting something ... (too fast for me)
then it says connecting to site (the server internal nic).
then downloading something....
then opening pages .........................dns error.htm
then finally it says done (at the bottom) with the standard "the page cannot be displayed" (at the top) and a couple of useless suggestions.

man that's long winded!

you grues are probably laughing your heads off right now and wondering if this guy is for real.
well, I am for real and my wife is also at her wits end because i've neglected her for almost 3 weeks.
I would appreciate any help I can get,
thanx, Larry.

p.s. I reminded myself of an old joke...
did you hear about the king and his court jester who were stranded on this desert island?

within a week he was at his wits end...
har, har, har.
Old 08-12-2003, 01:17 AM   #2
LQ Newbie
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
LN, gathering from your in depth explaination of your setup I would assume it is an issue with your firewall. Not to much detail given in that part though. You want to look up iptables firewalls. Ipchains is outdated so it no longer is packaged with RH9. You're almost there. Look here to start with
then you can google for some examples on the internet.


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
Best Way to Share User information between applications on Linux illusina Programming 1 04-21-2005 11:24 PM
share internet whit redhat 9 as server little_ball Linux - Networking 1 03-28-2004 08:05 AM
How do I share the internet using Linux borgdrone Linux - Newbie 4 12-24-2002 10:54 AM
Share an internet connection betwen a linux server and a windows client GiGA Linux - Software 4 08-21-2002 10:22 AM
share internet win2k server and linux workstaion Fuigus Linux - Networking 1 09-10-2001 09:09 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:11 PM.

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