Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-14-2012, 02:02 AM
|
#1
|
LQ Newbie
Registered: Sep 2012
Location: Ramsgate, Kent. UK
Distribution: Ubuntu Studio
Posts: 2
Rep:
|
Simple VPN to link my home network to my father's and fiancees home networks
Hi,
This is my first post on here (wooo).
I have been reading through lots of threads on here and to be truthful am getting more and more confused as I can't seem to find one that exactly tells me what I need, so sorry if I didn't see it - if it is there please direct me to it.
The subject explains what I want to do, to add to this - My home network consists of a BT Home Hub 3 (broadband router), 1 Linux PC in my kids room, a Raspberry Pi in the lounge acting as a media centre, an iPhone, an iPad, a Linux Ubuntu Studio netbook, and a Wi-Fi Epson Printer.
How can I create a Wide Area Network, joining my resources to my father's network at his home, and my fiancee's fathers network at his home, so each of the three networks can potentially use each other's resources, add to that a way of only using the resources that we want to be shared, access shares on the devices at various locations from other locations within the network etc etc.
i.e. If I am sat at home and wanted to print to my father's printer, it would be a matter of adding the printer as I would for my own networked printer, and then printing to it, or if I wanted to save a picture or document onto a share on my father's pc, just browse or connect to his share directly and save it straight there.
firstly, is this kind of thing actually doable? if so, how?
The other two networks consist of Windows clients and cabled and wi-fi printers.
How much of a job is this? I'm quite technically minded, and not affraid to get my hands dirty so to speak with configurations etc etc, I just want to know if this is possible and how to go about doing it if it is.
Obviously I would like to be able to stop anyone accessing the three networks, or have a way of adding a fourth or more networks to this WAN in the future if possible.
Suggestions, advice please guys.
Thank you in advance.
|
|
|
09-14-2012, 01:31 PM
|
#2
|
Member
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349
Rep:
|
OpenVPN will be your friend here, or some sort of VPN. Don't be afraid if you hear/read that it's a bitch to set up; in reality, if you're comfortable editing config files and reading some docs on the openvpn site, it actually is rather straightforward to setup as far as making your PKI, configuring the server itself, etc. TBH routing was the biggest hurdle for me, but it's very doable. OpenVPN only requires 1 port to be forwarded to the server (by default UDP 1194), and if you enable AES encryption you have yourself a damn good secure VPN. And yes, it can be configured to allow you to see each other's networks. 1 tip, make sure each "site" has a different IP address subnet config, e.g. your house should be 192.168.1.x, the other should be 192.168.2.x, and so on. Otherwise you will have a routing conflict. I use openvpn daily in a client-server mode so that I can connect to my home network from work & access my fileserver. It's f'ing great.
1 thing to pay attention to regardless of whichever way you go is that your UPLOAD speed, at each site, will be your achilles heel. Most ISPs are only giving you at most 4-6 megabits per second up, which calculates to around 500 kilobytes per second. Fast enough for docs pictures music printing, etc. but if you plan on doing any heavy lifting file-size-wise things will slow down, due to the unavoidable and unnecessary restriction to such a slow speed. Also bandwidth caps can potentially bite you in the ass, depending on your area. I know since I've started doing VPN from my place, we (me + 1 roomate) used 327GB (!) of data last month (august). Comcast, at least in my area, is getting ready to start charging for this stupid arbitrary measurement. PITA.
|
|
|
09-14-2012, 01:39 PM
|
#3
|
LQ Newbie
Registered: Sep 2012
Location: Ramsgate, Kent. UK
Distribution: Ubuntu Studio
Posts: 2
Original Poster
Rep:
|
Wow awesome... I'd hoped there was something like this available.
I'll be looking into it and may post what I do in a way like a step by step a) for my reference incase I need to do it again, and 2) it may help someone else out.
Thanks for the advice my friend.
All the best,
Christian.
|
|
|
09-14-2012, 01:55 PM
|
#4
|
Member
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349
Rep:
|
yeah for sure. good luck to you. i've got a simple server-only connection setup now, routing for the rest of the network is my next project.
obviously you'll need a spare PC to act as a server endpoint, but if all you plan on doing is just VPN trafficking then you can get by with ancient hardware, provided your network cards are good. Pentium III's and the like. but it's super sweet to be able to take my laptop anywhere in the country and, as long as there's internet, I can connect to my home stuff. it's your own cloud, in essence
i really like what those guys at openvpn are doing, from all accounts i've read there aren't any known vulnerabilities if configured with AES. real good stuff.
|
|
|
All times are GMT -5. The time now is 08:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|