connecting 2 remote clients
Posted: Wed Feb 22, 2023 9:43 pm
I would like to create the following setup: two remote clients connect to each other from their local network using the VPN server on a public address. That would be a setup like:
[client A] ===> [VPN server] <=== [client B]
The challenge is that client B would use the VPN connection to connect to client A and get internet access through client A. So if client B has a public IP address 1.1.1.1 and would connect to client A with a public IP address 2.2.2.2 then all internet traffic of client B should originate from the public IP address 2.2.2.2
Since port forwarding is not possible on client A and B, it seems logic to install an external VPN server that both can access. If port forwarding would have been possible then I could of course setup a VPN server at client A and the required routing of internet traffic from client B through client A would be standard...
Any suggestions?
[client A] ===> [VPN server] <=== [client B]
The challenge is that client B would use the VPN connection to connect to client A and get internet access through client A. So if client B has a public IP address 1.1.1.1 and would connect to client A with a public IP address 2.2.2.2 then all internet traffic of client B should originate from the public IP address 2.2.2.2
Since port forwarding is not possible on client A and B, it seems logic to install an external VPN server that both can access. If port forwarding would have been possible then I could of course setup a VPN server at client A and the required routing of internet traffic from client B through client A would be standard...
Any suggestions?