Need security advice - Sharing Internet connectivity to a third party
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian and Fedora for play and RHEL + Solaris for work
Posts: 172
Rep:
Need security advice - Sharing Internet connectivity to a third party
Hi,
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.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
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 192.168.0.5), then configure the LAN on the backend of that router to be some different subnet (such as 172.16.0.0/24). 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 (172.16.0.0/24). 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".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.