hilll
9
ovpn routing set lan to lan, have to config as follow:
- ovpn server config set the client conf, as:
client-config-dir /etc/openvpn/ccd
int the /etc/openvpn/ccd directory, create each client conf, as:
/etc/openvpn/ccd/client1
/etc/openvpn/ccd/client2
- int the /etc/openvpn/ccd/xxx client config, set as:
iroute 192.168.99.0 255.255.255.0
set the iroute is the client subnet; so ovpnserver can route the ovpnclient.
reference help:
https://backreference.org/2009/11/15/openvpn-and-iroute/