LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-14-2007, 10:06 AM   #1
[AdultSwim]
Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
separating connections


Hi,

I need to share my internet connection with other computers than my own but I want to keep their computer separated. I want to give them full access to the internet but don't want them to be able to access my computer, server, and file share services. And I also wanted to make it impossible to sniff data from my PCs

Should I create a proxy?. If so should I use squid or something else.

Thanx in advance
 
Old 04-14-2007, 11:36 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Assuming you are talking about a home internet connection using DSL, and that 'your' system is some kind of Linux, you should install a second ethernet, and make your Linux system a firewall/router. One ethernet connects to the DSL modem, and the other connects to a hub/switch in your LAN. My recommendation for a ready-made package that does a good job of this is http://homelansecurity.sourceforge.net/. There are other similar packages, some having GUI configuration tools. Maybe others will point out some of these. Come back here with specific configuration questions, should you have any.

--- rod.
 
Old 04-14-2007, 11:44 AM   #3
[AdultSwim]
Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Yes, i am talking about a home network and I use Linux.

Thanx for the help
 
Old 04-14-2007, 12:10 PM   #4
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
Well yes you can use proxy squid and still if you play with the iptables you can share the internet to other NIC
 
Old 04-14-2007, 12:41 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
well squid won't give you "full" internet access, only http ftp etc... and if you're conencting all machines to a switch, not a hub then as long as they don't mess about with that switch you can't be sniffed either. finally, use a decent iptables setup on your machine to stop them getting in. that's what it's there for.
 
Old 04-14-2007, 12:48 PM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Just to clarify, HomeLanSecurity is a package that 'plays with the iptables'. Creating an iptables configuration that works and is secure takes a lot of knowledge. That is why I recommend using a mature package that has withstood the scrutiny of experts over time. HLS is not the only such package out there, simply the one I like and have used. I don't use squid, but my understanding of it is that it is mainly a proxy server, and serves little or no routing or firewalling purpose. As such it may be useful in addition to an iptables based router, but not as a replacement alternative. Someone correct me if I'm wrong on this.
--- rod.
EDIT: Of course, while I wrote this, acid_kewpie was swooping in to answer a priori.

Last edited by theNbomr; 04-14-2007 at 12:51 PM.
 
  


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
Separating multiple accounts in Evolution Frank616 Linux - Software 1 01-27-2006 10:25 PM
LXer: Separating the cart from the horse LXer Syndicated Linux News 0 01-02-2006 06:31 PM
separating a comma delimited line mrobertson Programming 7 07-27-2005 01:56 PM
separating strings cxel91a Programming 3 05-01-2004 06:54 PM
separating words cxel91a Programming 14 04-29-2003 01:05 PM

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

All times are GMT -5. The time now is 10:07 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
Open Source Consulting | Domain Registration