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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
Ok, so I've recently started using a VPN provider with an OpenVPN setup for my home server. This introduces complications, in that I run a mailserver etc on it, and once the VPN is active, ddclient advertises the VPN endpoint as my IP, and as port forwarding doesn't exist down the tunnel, no traffic actually gets into the server. This also applies for SSH traffic etc - currently I'm jumping through my Pi to get there externally.
I have an idea as to how I could solve this, but I need to run it past someone who has more knowledge on the situation before I attempt a solution. I know I can force the applications I want to tunnel to use a specific interface, and I know that you can bind OpenVPN to a specific interface, so would it be theoretically possible to bring up a pseudo interface, bind the VPN to that and then make the applications use the pseudo interface? Is this a practical solution? If so, what would I need to do to achieve this? Obviously I'd want any traffic coming in the VPN to then leave via it again, or it will defeat the object.
I should add a little more information to this - both interfaces would be on the same subnet, although in theory it wouldn't be too difficult to change this as my router supports tagging each switch port with individual VLANs, but I'd rather not have to go down this route if I can avoid it.