roles/dch-openvpn-server: Correct routes
The `ifconfig` global directive specifies the IP address added to the tunnel interface device, not the network. The `push route` directives need to include this address to correctly send route information to clients.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
ifconfig-push 172.30.0.210 255.255.255.240
|
||||
iroute 192.168.0.0 255.255.0.0
|
||||
iroute 172.16.0.0 255.255.240.0
|
||||
push "route 172.30.0.0 255.255.255.192"
|
||||
push "route 172.31.0.0 255.255.255.224"
|
||||
push "route 172.30.0.0 255.255.255.192 172.30.0.209"
|
||||
push "route 172.31.0.0 255.255.255.224 172.30.0.209"
|
||||
|
||||
Reference in New Issue
Block a user