Hey guys, I've been poring over docs, forum posts etc but I can't seem to figure this out.
Basically the network structure I'm looking for is to have the server on one VPN subnet with its non-static pool of clients,
and then have different properties each assigned their own subnet. Example:
VPN server: 10.50.0.1, with pool 10.50.0.0
Property 20: 10.51.20.0 subnet (clients would get 10.51.20.1, etc)
Property 22: 10.51.22.0 subnet (clients would get 10.51.22.1, etc)
If I just have clients connect and get their IPs from the pool, everything works fine.
If I push an IP of 10.51.20.1 down to a client, Openvpn connects fine but the client and server can't see each other at all (pings fail etc)
I'm pretty certain it has to do with how my routes are setup but I'm having a really hard time understanding how they should be defined.
Relevant server conf entries:
server 10.50.0.0 255.255.255.0
topology subnet
client-to-client
route 10.51.20.0 255.255.255.0
Client conf (ccd):
ifconfig-push 10.51.20.1 255.255.255.0
Any suggestions or pointers to similar examples? Thanks.