Perform Double VPN (multi-hop VPN)

kevonovaustin

New Member
Joined
Dec 30, 2021
Messages
1
Reaction score
0
Credits
19
Hello everyone,


I had new challenge with routing traffic through two VPN servers as shown in fig. 1.


How-double-VPN-works.jpg

Figure 1


Here is some real information about this scenario:


VPS2:
- I call it L2
- Located in France
- Runs Ubuntu 18.04.6 LTS
- Has eth0 as default interface connected to Internet
- eth0 has public IP address of 51.38.91.186
- Runs OpenVPN Server
- Has tun0 as OpenVPN server interface
- tun0 has IP address of 10.8.0.1

VPS1:
- I call it L1
- Located in Canada
- Runs Ubuntu 18.04.6 LTS
- Has eth0 as default interface connected to Internet
- eth0 has public IP address of 23.29.198.144
- Runs OpenVPN Client
- Has tun0 as OpenVPN client interface
- tun0 has IP address of 10.8.0.2
- Runs PPTP server
- Has ppp0 as PPTP server interface
- ppp0 has IP address of 172.16.10.1

Client:
- Runs Windows 10
- Has default interface connected to internet
- Runs PPTP client
- PPTP interface has IP address of 172.16.10.2


All above information is shown in fig. 2.


Scenario2.png

Figure 2

Now that you have all necessary info, how do you think I can solve this matter?
Please, let me know if needed any further info.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online

No members online now.

Top