This response is for those who read this post and its solution to disable topology subnet (and revert to topology net30) but would like to use:
in their OpenVPN Server configurations.
The reason the client configuration triggers an error when configuring a static IP address as follows:
is because topology subnet expects an IP address and subnet mask to be configured as opposed to two IP addresses as is necessary in the case of the default topology net30. Therefore, when your server is configured with topology subnet, use the following client configuration to push an IP address:
For example:
Make sure that the IP address is assigned in a routable network on the VPN server. If you just want to assign static IP addresses, use the default server subnet for clients.
Code:
topology subnet
The reason the client configuration triggers an error when configuring a static IP address as follows:
Code:
ifconfig-push 10.8.0.101 10.8.0.102
Code:
ifconfig-push <IP address> <subnet mask>
Code:
ifconfig-push 10.8.0.100 255.255.255.0
Statistics: Posted by ezoer — Sun Dec 29, 2024 7:37 am