I would like my OpenVPN server to push a route down to the client with a different default gateway.
Specifically, my OpenVPN server has an internal IP address of 10.0.0.1
, and I would like it to push a route of 10.10.10.1/24
using gateway 10.0.0.2
.
Is it possible to do this by specifying a push route in the server config file?
push "route 10.10.10.0 255.255.255.0"
to the client, and then the VPN clients traffic to have a different default gateway (10.0.0.2) on the VPN server network?push "route 10.10.10.1/24 255.255.255.255 10.0.0.2"
, no go.push route "10.10.10.0 255.255.255.0 10.0.0.2 1"