[SOLVED] Creating simultaneous network connections to a VPN and local area network.
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Creating simultaneous network connections to a VPN and local area network.
I'm working with a Ubuntu 10.04 LTS system with two network interfaces (both Ethernet).
The Idea: I wish to setup this system such that it is simultaneously connected to my local and an OpenVPN network and able direct traffic between the connections depending on what program is sending the traffic.
The problem: Under my current OpenVPN configuration all network traffic is directed to the VPN.
In practice, I would like OpenVPN to operate out of one of my two network interfaces and leave the other interface connected to the local network. Then by default all network traffic should be directed to my local network unless I specify (on a per program bases) that certain traffic should go though the VPN.
These two network connections can (should) stay completely independent of each other and do not need to talk to each other.
Can anyone provide me with instruction/direction on how I can achieve such a setup?
That's the guidance I needed to at least understand where I need to go. I still haven't pieced together my exact plan of attack for this issue but other problems with making my Openvpn connection reliability to deal with first. Once I iron out these other issues, I will come back to setting up the proper routing.