Page 1 of 1

VPN within VPN - is it possible?

Posted: Sun Feb 21, 2016 11:36 am
by johnyjj2
Hello,

I would like to ask you if it's possible to have two OpenVPN sessions at the same time.

First example:
* Using VPN connection for private internet browsing, preferably with kill-switch feature
* Using other VPN connection to use remote desktop for work
In that case second connection would be used only for remote desktop.

Second example:
* Using VPN connection for private internet browsing, preferably with kill-switch feature
* Using other VPN connection to configure remote router
In that case second connection would be used only to access router web management page in the web browser and to access router shell.

By kill switch feature I mean something like this: https://github.com/adrelanos/vpn-firewall (for Linux).

Thank you!

Re: VPN within VPN - is it possible?

Posted: Sun Feb 21, 2016 1:02 pm
by Traffic
It is possible on some operating systems but it is not easy and cannot be done using openvpn alone.

Re: VPN within VPN - is it possible?

Posted: Sun Feb 21, 2016 1:41 pm
by johnyjj2
Traffic wrote:It is possible on some operating systems but it is not easy and cannot be done using openvpn alone.
Thank you. Could you, please, let me know a little more about it? Which tools should be used and are there any guides on that?

I mean Linux. For example Debian on laptop and OpenWRT Linux on router and any Linux (e.g. Raspbian) on Raspberry Pi. Would be nice to know which tools are available for Windows (in case I need it in the future) but is not critical now.

Re: VPN within VPN - is it possible?

Posted: Sun Feb 21, 2016 1:54 pm
by Traffic
It depends very much on how you configure openvpn .. there is no standard way.