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:
2018-07-01 16:47:43 -05:00
parent 036234bba5
commit 03e5764de1
2 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ dh dh2048.pem
topology subnet
push "topology subnet"
ifconfig 172.30.0.208 255.255.255.240
ifconfig 172.30.0.209 255.255.255.240
route 192.168.0.0 255.255.0.0 172.30.0.210
route 172.16.0.0 255.255.240.0 172.30.0.210
client-to-client