LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-12-2004, 11:15 AM   #1
hise
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Question Samba and Windows Internet Connection Sharing (ICS)


I'm a linux rh9 user and would like to use a server-side content filtering service (bsafehome.com). There service is not a proxy-based service, instead, they rely on a Window Service that intercepts web requests, and asks their servers an allow/disallow question before the client computer can connect to the web server (as opposed to a proxy server making the request, processing the request, and delivering results to the client computer). It has significant performance benefits over proxy servers, while allowing the content database to be maintained centrally; however, because it has to be a Windows Service, it only works with Windows machines.

Reading up on Windows Internet Connection Service (ICS), a "Windows-based LAN Server (I'll call it)" can be setup to connect to the cable modem. Then a client is connected directly to the Windows-based LAN Server and the Windows-based LAN Server can be configured to share services with the LAN connected computers.

So, using Samba, can my Linux RH9 box be that client, and will it use a shared Windows service? Anyone tried anything like this?

Thanks,

--Hise
 
Old 03-13-2004, 11:09 AM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
ICS silently sets up DNS, DHCP and routing - making the Windows PC the equivalent of a hardware router. A Linux box can use those services to access the Web through the modem, but without knowing how the service provider intercepts the Web traffic from your network it's impossible to say. The username/password bit probably doesn't involve Samba/Windows Networking at all, though.

Given the many issues with Windows, I don't think that many people would recommend making it the network gateway with ICS these days. You might get a better response if you ask for help setting up the RH box for sharing the 'net connection, using Squid to control access.
 
Old 03-13-2004, 11:32 AM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
As hob says: ICS is knows to cause some headache. Sometimes I have got it working, and suddenly it won't work.

Why not use Squid, a web cache proxy. This has all of the functions you mention, central management, transparency, performance boost (main purpose of cache proxy). It even runs smoothly on a prettey old computer, just put some memory and harddrive in it.
 
Old 03-13-2004, 11:46 AM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
as long as the windows machine is setup for ics, and has a constant connection, it should be as simple as setting the ip of the windows machine as the gateway for your linux machine. if the linux box has trouble getting an ip, just setup static ip's for both boxes. one other thing to consider is your windows firewall. if your running a firewall you'll have to make provisions to allow the linux box to connect. more often than not, you won't be able to go "full stealth" and share the connection. concerning the samba, this is a whole different issue about file sharing, and has nothing to do w/sharing your internet connection. for further info on samba go here.

http://www.samba.org/

hope that helps.
good luck.
 
Old 03-16-2004, 03:42 PM   #5
Hellmark
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian Sid - 3.0 Kernel
Posts: 22

Rep: Reputation: 0
I'm doing same basic thing.

The win2k machine has the net connection. Win2k has three connections; LAN connection 1 is the first nic that is connected to the DSL modem, The DSL modem is recognized as LAN connection 2, and LAN connection 3 is my second nic, which connects to the hub my laptop is on. The computers ping ok, and Samba works
without a hitch.

Now, I'd like to not buy any hardware, because in a month or two I'm
moving, and will have different hardware to connect into then (won't
need the modem, and will be running from a wireless router)
 
  


Reply



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
sharing internet connection with windows xp melinda_sayang General 11 12-10-2004 09:51 PM
Configuring Samba and sharing an internet connection krock923 Linux - Networking 8 07-13-2004 06:31 AM
Sharing internet connection with windows Kontrau Linux - Networking 2 05-02-2004 07:10 PM
Internet Connection Sharing with a Windows PC Chryzmo Linux - Networking 22 09-26-2003 12:10 PM
Internet Connection Sharing and Samba will824 Linux - Networking 5 06-18-2003 05:04 PM

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

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

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
Open Source Consulting | Domain Registration