LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-20-2006, 03:06 PM   #1
TheIceHeart
LQ Newbie
 
Registered: Sep 2006
Location: London
Distribution: SuSE 10.0
Posts: 4

Rep: Reputation: 0
Unhappy Linux Server and Windows Client


I'm really yellow in this business. Was introduced to Linux just several days ago. Basically I'm sick and tired fighting viruses and spies. Installed SUSE 10.0 and I love it. But I don't want to give up Windows for the cause of gaming. I want to use Linux as a server and connect Windows box to it for the safe browsing (game updates etc.). I browsed the Networking section of tutorials here on Linuxquestions and couldn't find the exact answer to my dilemma. How to connect separate Windows box for general browsing to separate Linux Server which is connected to internet via ISP. I bag of you, guys, please be patient with me, because I'm really new in this. If possible to give step by step instruction of how to do it of direct me to elucidative site that is easy to comprehend. Thank you very much
PS. I have two separate machines. One is Linux SUSE 10.0, other Windows XP SP1

Last edited by TheIceHeart; 09-20-2006 at 03:21 PM.
 
Old 09-20-2006, 03:45 PM   #2
Denes
Member
 
Registered: Mar 2004
Distribution: CentOS 4.3/4.5
Posts: 72

Rep: Reputation: 15
I would suggest using VNC which is a remote desktop utility combined with Samba for easily moving files between the two machines. To use it run vncserver in a command line as a regular user on your Linux box. It will ask for a password to use the first time. Now download the latest vnc client to your windows box (do a google search to find out where). Run the vnc client executable with the IP address and display number (usually 1). You may want to change the last line of the vnc configuration file located in your home directory in the hidden .vnc directory called xstartup. This file will have a line at the end like twm &, change this to startkde & for kde (I forgot what the gnome one was if that is what you prefer). Now you can browse using your Linux machine through the vnc client.

The next thing you should do is setup a Samba share on your Suse machine so that you can easily drag and drop files to/from the Linux box to the Windows box with Windows Explorer. I don't have a Suse machine up right now but I know they have a graphical configuration tool for Samba. It may take some messing around to get it working.

Good luck!
 
Old 09-20-2006, 05:27 PM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
How to connect separate Windows box for general browsing to separate Linux Server which is connected to internet via ISP
So you want to turn your Linux server into a router and gateway? that's what it sounds like you're saying. am I correct?
 
Old 09-20-2006, 11:39 PM   #4
TheIceHeart
LQ Newbie
 
Registered: Sep 2006
Location: London
Distribution: SuSE 10.0
Posts: 4

Original Poster
Rep: Reputation: 0
Smile

I don't know much about router and gateway stuff, but as I said I want my Linux machine to be connected to ISP (internet) and my Windows machine to be connected to Linux, so that Linux would filter all the viruses and other web crap and Windows machine would have "safe passage"
 
Old 09-21-2006, 11:25 AM   #5
Denes
Member
 
Registered: Mar 2004
Distribution: CentOS 4.3/4.5
Posts: 72

Rep: Reputation: 15
Maybe a combination of the two would be best. If you want to browse from Windows, use VNC with firefox running on the Linux box and get files you downloaded via Samba. Do the same with the email client (thunderbird, evolution, etc). Even if you are using the Linux box as a router/firewall to the Windows machine, this will not prevent you from getting spyware/viruses on your Windows box, so try and avoid using it for those tasks. If you are forced to use Windows on the network directly for playing games or whatever, then you should configure the Linux box as a router/firewall as Micro420 indicates, especially since you indicated you are using XP SP1 (not the latest updates). I would avoid using IE on Windows.
 
Old 09-21-2006, 02:20 PM   #6
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
I use SuSE 10.0 as my production server/gateway/router. Very easy to set up using YaST if you have 2 NICs - one to the internet and other internal. I also use Squid as proxy server (ie all Windows machines go via that for web browsing), and Samba for file sharing (and domain server).

As others say you still need to protect your Windows PC from nasties - just putting a router/gateway in the way won't stop Windows users browsing the web and clicking in places that will get them a virus! Only safe(ish) way I've found is to ensure that none of the Windows users have Admin rights over their machine and they at least have antivirus running. You can run antivirus software on the linux server (on the directories shared by Samba) - I use AVG which has linux and Windows antivirus software.
 
Old 09-22-2006, 02:22 AM   #7
TheIceHeart
LQ Newbie
 
Registered: Sep 2006
Location: London
Distribution: SuSE 10.0
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks guys! Really appreciate the assistance. So to sum up, I have to setup Linux server to run as a router with samba for sharing and have the antivirus running on linux server too. Am I right? Please, correct me if I did not understand all that properly.
Thanks
 
  


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
Access Windows Server with a linux client sailu_mvn Linux - Software 8 11-21-2005 06:54 PM
Server in Linux and Client in Windows dinwwf Programming 4 08-31-2005 09:37 AM
can not connect to my pureftp server from Linux client, but i can from windows client bonito SUSE / openSUSE 5 03-16-2005 09:45 PM
How can I see my Linux server from Windows client machines? easwaran Linux - Networking 5 10-13-2004 04:03 PM
Linux NIS server. windows client? sendas4 Linux - Newbie 1 08-14-2004 05:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:37 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