LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-18-2006, 05:11 PM   #1
here2serve
Member
 
Registered: Sep 2005
Location: Hinesville
Distribution: Debian, Mandriva, Ubuntu, Fedora
Posts: 104

Rep: Reputation: 15
public and private network


My boss is becoming a geek and begining to turn from the darkside. I started him off with live cd's. HE choose to install pclinuxos. Now he wants to put an antenna in his attic connected to a amp and share his internet connection with the world OH yea he also bought a file server to share also. Well he wants a private and public network with out piggybacking 2 routers. Basicly he is asking me to
figure out how to use a linux box as his gateway and protect his private network. I thought zone cd would do the trick but he is bucking the idea. So what "preferably" live cd solutions would work well?
No my job is not in IT. No I won't loose my job over this, and YES He wants to set it up himself using me as tech support. Awkward but interesting. Yes I have told him sharing his connection might not win him any points with the ISP and If his file server is sharing movies/music/porn in may get him in hot water.
 
Old 10-18-2006, 05:39 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Since piggybacking two routers would be easier putting his private network on the last router it can be done but will require some custom iptable building. Will require 3 nics. One to the internet one to the public and the other to the private side. Just have to enable so neither public or private can see each other just straight out to the internet and back. I have seen a script that might work but the link eludes me at the moment. Will post once I find it.

Brian
 
Old 10-18-2006, 07:29 PM   #3
here2serve
Member
 
Registered: Sep 2005
Location: Hinesville
Distribution: Debian, Mandriva, Ubuntu, Fedora
Posts: 104

Original Poster
Rep: Reputation: 15
I Agree piggyback but...

I do think the piggybacking idea is the simplest. My challenge is that my direct supervisor had an employee who jumped the chain of command to talk to this guy about tech stuff instead of getting his job done. In jan I'll start going to school for computer science and everyone knows that the top dog will talk tech all day long. I only get 5-30 min a week to talk to the guy with out stepping on toes. So having been in this position less than a month and getting him to at least try OSS is a big deal to me. Even though I told him that piggybacking was the right way to go I'm reluctant to discourage him from thinking outside of the box. An elegant way to implement this must be available. I was thinking of 2 nic's. 1 wan side the other to the router. Set up virtual networks to keep it separate.
Honestly this is way beyond me. I don't want anyone doing major research to answer the question. Right now I'm reading RUTE and have only spent and hour or so looking into my bosses problem. I hope this explains where things stand. I would like an answer to his problem but I am not willing to to spend more that 20/30 min a night thinking about it.
 
Old 10-20-2006, 12:11 PM   #4
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
You might have him check out MonoWall

http://m0n0.ch/wall/

I use it with a soekris 4801 and a 1621 card. However you could use it with just the 4801 from soekris or an old pc with 3 nics. One for ISP connection and 1 for private network and the 3rd for his public network. MonoWall is a great firewall/router based on BSD unix.
 
Old 10-20-2006, 03:28 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Did not have access to my bookmarks at the time but you might review the multihomed script from this link. http://www.linuxguruz.com/iptables/

Brian
 
Old 10-20-2006, 04:22 PM   #6
here2serve
Member
 
Registered: Sep 2005
Location: Hinesville
Distribution: Debian, Mandriva, Ubuntu, Fedora
Posts: 104

Original Poster
Rep: Reputation: 15
Thanks I think I'll look into m0n0wall.I'd never been to linixguruz before. I think from the info on both sites I should be able to get it done.
 
Old 12-02-2006, 07:41 AM   #7
here2serve
Member
 
Registered: Sep 2005
Location: Hinesville
Distribution: Debian, Mandriva, Ubuntu, Fedora
Posts: 104

Original Poster
Rep: Reputation: 15
A follow up. Some the problems we were running into were solved by putting the wireless routers in separate rooms. It seems that no matter what channels/mode we selected no one could connect. To much noise.
 
Old 12-03-2006, 12:34 AM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I would have suggested using something like smoothwall on a spare PC with 3 NIC cards..

eth0 - Public - Internet
eth1 - DMZ - Locate Servers that provide services to Internet here.
eth2 - Private - Private LAN connection.

Other options can be found in many places..
http://en.wikipedia.org/wiki/List_of...twork_Oriented
http://wiki.linuxquestions.org/wiki/..._distributions


Or you could use a regular distro on a pc with 3 NICs and something like fwbuilder to create a comprehensive ruleset for iptables..
http://www.fwbuilder.org/
 
  


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
DNS Server (bind9) works on the private network but not in the public one! wjleon Linux - Networking 26 01-24-2009 08:14 PM
public, private, protected...?(C++) name_in_use450 Programming 6 10-07-2008 11:43 PM
public service, private CVS? prell Programming 7 01-15-2005 12:18 AM
public vs private ip emailssent Linux - Networking 2 09-28-2004 02:11 AM
Linking Public IP to a Private IP Saints Linux - Networking 0 05-04-2004 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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