VPN within VPN - is it possible?

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
johnyjj2
OpenVpn Newbie
Posts: 10
Joined: Sat Mar 28, 2015 2:36 am

VPN within VPN - is it possible?

Post by johnyjj2 » Sun Feb 21, 2016 11:36 am

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!

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: VPN within VPN - is it possible?

Post by Traffic » Sun Feb 21, 2016 1:02 pm

It is possible on some operating systems but it is not easy and cannot be done using openvpn alone.

johnyjj2
OpenVpn Newbie
Posts: 10
Joined: Sat Mar 28, 2015 2:36 am

Re: VPN within VPN - is it possible?

Post by johnyjj2 » Sun Feb 21, 2016 1:41 pm

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.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: VPN within VPN - is it possible?

Post by Traffic » Sun Feb 21, 2016 1:54 pm

It depends very much on how you configure openvpn .. there is no standard way.

Post Reply