How to route or forward Internet traffic between two Linux (Ubuntu) Virtual Private Servers

Viewed 11

I have two Virtual Private Servers with Linux (Ubuntu 18.04) installed in two different networks, Both of them have a Single NIC.

Server A with IP address x.x.x.x has filtered access to Internet, So some of the Websites can not be accessed via this Server.

Server B with IP address y.y.y.y (not the same network with Server A) has complete and free access to the Internet.

Now I have a Mobile Client which doesn't have access to the Internet by default and just has connection to Server A via OpenVPN software.

How can I route the Internet traffic from Server B (which has full access) to this client through Server A ?

And I also have access to both VPS A & B just with SSH commands.

0 Answers
Related