Networking Forums

Networking Forums > Computer Networking > Linux Networking > Using a Linux Server to connect Windows workstations to the internet.

Reply
Thread Tools Display Modes

Using a Linux Server to connect Windows workstations to the internet.

 
 
JRRadtke
Guest
Posts: n/a

 
      08-21-2003, 03:56 AM
Im a bit new to Linux so this may be a very elementary task.
I have a RH 7.2 box with the latest Samba software installed.
The Linux box acts as a file server for Windows workstations.
Everything works well.

Now I need to know if there is a way to have the windows workstations
connect to the internet (via dial up connection) by going through the
Linux box.

Since the modem will be connected to the Linux box, and all the work
stations are connected to the Linux box by a Linksys 10/100 switch,
the linux box has to know when a Windows workstation wants to make the
dial up connection and then make the actual connection.

I've done this with two Windows machines using WinProxy, but don't
know how to do it on the Linux box.

Can it be done? (I gotta believe so)
Can it be done with the RH 7.2 distribution software?

Any suggestions on where to start will be greatly appreciated.

JR
 
Reply With Quote
 
 
 
 
pbs
Guest
Posts: n/a

 
      08-27-2003, 07:28 AM
Joerg Morbitzer wrote:
> JRRadtke wrote:
>
>
>>Im a bit new to Linux so this may be a very elementary task.
>>I have a RH 7.2 box with the latest Samba software installed.
>>The Linux box acts as a file server for Windows workstations.
>>Everything works well.
>>
>>Now I need to know if there is a way to have the windows workstations
>>connect to the internet (via dial up connection) by going through the
>>Linux box.
>>
>>Since the modem will be connected to the Linux box, and all the work
>>stations are connected to the Linux box by a Linksys 10/100 switch,
>>the linux box has to know when a Windows workstation wants to make the
>>dial up connection and then make the actual connection.
>>
>>I've done this with two Windows machines using WinProxy, but don't
>>know how to do it on the Linux box.
>>
>>Can it be done? (I gotta believe so)
>>Can it be done with the RH 7.2 distribution software?
>>
>>Any suggestions on where to start will be greatly appreciated.
>>
>>JR

>
>
> Of course it can be donne. If you want to access the internet with ftp and
> http protocol (for downloading software and surfing the internet) the
> easiest way would be to install a proxy server, squid would be the perfect
> choice. If you also want to run other software like P2P or whatever you
> should try to setup your Linux box as a masquerading router. For general
> information concerning Linux and masquerading check out this page:
>
> http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/
>
> And here is a example page describing masquerading with RH 6.X:
>
> http://linux-rep.fnal.gov/howtos/min...i-HOWTO-3.html
>
> Kind regards, Joerg.
>


I am using RH 7.2 (with a slightly later kernel) as a router firewall
and I run a mixed net of Linux and PCs. You do not need to install a
proxy server because the kernel can do that for you.
(IP-Masquerade-HOWTO). I am not sure if the kernel comes with IP
masquading compiled in as default on RH7.2. May be someone else
in this group can answer that question.

That you already have samba working means that you are 3/4 of the way
there.

On the PCs set them up so that the default route is via the IP number
of the Linux Box.

On the linux Box you will need to set up a modem. This can be tricky
if you do not use an external modem. I have been using a
pci "Lucent Microelectronics 56k WinModem" with ltmodem-8.26a9.tar.gz
software. It has been working at 50K+ every time.
http://www.linmodems.org/

Most of the ppp setup can be done via the Gnome Redhat menu interface:
foot->programs->internet
I found that their fire wall section program->system->firewall was not
upto much and had to code that by hand.

Also I can not remember whether the pppd came with the active-filter
option compiled in. Maybe someone else does.

You need to set the active filter to ignore some packets otherwise the
ppp connection will not drop. eg in /etc/active/options:
active-filter 'outbound and not ((tcp[13] & 4 !=0) or (icmp[0] = 3) or
(icmp[0] = 0))'

Because I am am old UNIX hacker I tend to edit the files directly
and not use the gui interfaces. If you need copies of any files
eg a fire wall example, then email the spam catcher address at
the top (please put some heading other than "busty blond" or
"I am a scam artist please help me transfer money" :-)

 
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
VNC server on windows, linux client cannot connect Geico Caveman Linux Networking 0 09-14-2006 07:38 AM
Connect Windows to Linux via Internet Jeremy Heersink Linux Networking 3 03-09-2006 06:28 PM
How do I connect to Windows SBS 2003 server over the internet =?Utf-8?B?UmhldHQ=?= Windows Networking 1 08-22-2004 09:53 AM
connect from linux to windows 2000 terminal server? stig Linux Networking 3 02-18-2004 05:54 AM
Linux Server, Windows XP Workstations, roaming profiles? Mike Shafer Linux Networking 2 11-06-2003 03:18 AM



1 2 3 4 5 6 7 8 9 10 11