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.
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.