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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user