Routing Internet Traffic via s2s client
-
Hi, I'm trying to do what the Routing Internet Traffic Through A Site-To-Site OpenVPN Tunnel page documents, except that I want a Headquarter PC (=OpenVPN server side) to egress its Internet traffic via the Branch Office (=OpenVPN client side).
I'm failing though as I don't know how to declare the specific OpenVPN client (the Branch Office) as the gateway for that specific Headquarter PC; I can only declare the openvpn_server_interface, which doesn't give enough information to OpenVPN to choose a specific OpenVPN client.
The Branch Office cannot function as an OpenVPN server because it can't do external port forwarding.
Any ideas? Thanks!
(btw that automated spam check is really annoying, I had to post an empty initial message and then edit it multiple times, until I realized it accepts
Thanks
but notThank you
...)
-
This post is deleted! -
@alkisg
You need to configure a VPN > OpenVPN > Client Specific Override for this client to route traffic to it.In the CSO state a certain tunnel IP for this client and set the whole network range at "Remote Network/s". For IPv4 enter "0.0.0.0/0".
Also in the server settings enter "0.0.0.0/0" at "IPv4 Remote network(s)".