Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 12-22-2003, 06:23 AM   #1
Registered: Aug 2003
Location: London, UK
Distribution: Debian and Fedora for play and RHEL + Solaris for work
Posts: 172

Rep: Reputation: 15
Need security advice - Sharing Internet connectivity to a third party


Just recently my boss promised the owner of our premises that we would provide her with Internet Connectivity through our network for free as a gesture of goodwill. Whilst I'm all for sharing I want to be sure that I've taken all the security issues into account. Maybe somebody could give me some advice on simple security procedures I could use?

At the moment, we have a Linux Router, with DHCP server that "provides" us with connectivity. Inside we have one physical private network and at the moment our landlady is attached to this with us all on the same subnet. The landlady has two Windoze machines (XP and 98), which as far as I can tell are used for Kazaa and playing games.

What I'd really like to do is have some kind of barrier between their network and ours, because at the moment they can browse our SMB workgroup at will and if they get a worm or anything my Windows clients will be vulnerable. Can I divide us up by putting us on different subnets? If so is their a good tutorial for doing this? I'd quite like to use webmin to set it all up.


Old 12-22-2003, 10:06 AM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
One easy thing you could do is buy one of those SoHo routers (perhaps you have a spare one already?) that does NAT, DHCP, etc... They go for about $100 USD, I would guess maybe 80 pounds sterling (where the heck is my pounds sign?). You could plug that into your network and give it a WAN IP from your network (such as, then configure the LAN on the backend of that router to be some different subnet (such as Of course, all that does is block the broadcast traffic from your Samba machines, and blocks any other type of "chatter" going *to* her machines, but she can still access things freely (would have to know where to look tho, because Windows networking will be masked).

The other option would be to put an extra NIC in your Linux router and give it another subnet ( You could hook a switch up to that NIC and use that for the landlady. You can then use iptables and prevent any traffic on that NIC from going to your other internal NIC. i.e. from the landlady NIC, traffic can only go OUT, not "sideways".


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
Sharing internet connectivity cidkato Linux - Wireless Networking 7 01-01-2005 06:38 PM
Need advice for internet sharing proxy that supports filtering peterbrowne Linux - Networking 1 11-12-2004 05:27 PM
No Internet Connectivity laltupi Linux - Networking 1 07-19-2004 10:34 AM
LAN party for BDay, need advice, info, etc. RHLinuxGUY Linux - Networking 3 06-30-2004 06:26 AM
Internet Connectivity is a NO-GO Help Please!! ClericPreston Linux - Newbie 1 06-04-2004 07:36 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:36 AM.

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