I have the following semgent in my server config:
Code: Select all
server 10.90.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt # Record for virtual IP mappings
comp-lzo # Allow compression
persist-key
persist-tun
route 192.168.1.0 255.255.255.0
push "route 10.90.10.0 255.255.255.0"
This all works fine, but I want to configure it so I can use my client (laptop) on dynamic networks e.g public wifi where it could be on any subnet. So my personal LAN the client is on 192.168.1.x but if I take it out it might end up on 10.80.0.x etc.
Basically, how can I get the routing working correctly without hardcoding the client's subnet.
Thanks a lot for any help
