Linux - NetworkingThis 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.
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.
A company has a main office in one city, and a smaller, branch office in another city.
Problem:
The two offices need to share a common folder where they can store calendar info, meeting requests, and Office docs. This can already be done in the main office via a Samba server running on Linux.
However, how would you include the branch office in this file sharing schema?
Any thoughts?
I've thought of either using a VPN or using SSH to tunnel with Samba over the internet, but both seem complicated.
Setup 2 VPN gateway then just set routing policy to have a trasparent secure comunication. I advise to use VPN because this is what VPN is created for, ssh works but for permanent infrastructur it's a hack.
Setting up a VPN gateway can be made a lot easier using a router specific distro with VPN support. I think *BSD today is a better choice but Linux is well placed too.
You have to evaluate if you want setup a dedicated machine or to combine it with router, firewall, ...
You need 2 VPN gateway, so you can create a protected channel. Packets start from a pc in office A, reach the VPN gateway pc (gwA) where they are put in the protected virtual channel, arrived to the other VPN gateway (gwB) they are checked and rearranged to normal state so they can reach destination pc at office B.
So you need 2 VPN gateway ... or you speak but nobody hear.
Originally posted by magyartoth Wow, Ok...I'll have to go buy some VPN books.
Thanks!
Chris
check out "Building Linux VPNs" by Kolesnikov & Hatch from New Riders. - It's excellent. also, from what I've heard, the OReilly book on VPNs is terrible.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.