Route traafic to the Internet throught the other client

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
misipiluco
OpenVpn Newbie
Posts: 1
Joined: Sat Nov 18, 2017 1:24 am

Route traafic to the Internet throught the other client

Post by misipiluco » Sat Nov 18, 2017 1:49 am

Hi all.
I have OpenVPN AS on Ubuntu, and 2 client with persmissions to exhange traffic between this 2 clients. I Mean Client A has a connection to the Client B, Client B also has wan connection to other TP Link router (has connection to the Internet) and Client B ip address is internal like 192.167.1.100, GW 192.168.1.1 throught that GW Client be has connection to the Internet. On client B there is OpenWrt.

Now i want to have connection from Client A to the some public(Internet) subnets thourght WAN port of client B.

Something like this
172.12.1.2---------------- 172.12.1.1 ---------------- 172.12.1.3----------192.168.1.100 (GW 192.168.1.1)--------------------Some ip of ISP
Client A(Openvpn) -> OpenVPN AS Server -> Client B(Openvpn) -> WAN Interface of Client B (TPlink ) thought -> WAN of Router (TPLink).

Could you please help me how can i get it?

Many thanks.

Post Reply