adamwalach/openvpn-web-ui

Server is always 10.8.0.0 255.255.255.0

sublee opened this issue · 0 comments

Even though I config the server as 10.99.0.0 255.255.0.0, the generated server.conf always says the server is 10.8.0.0 255.255.255.0.

image

server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.8.0.0 255.255.255.0"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"

The reason is hardcoding in openvpn-server-config.tpl:

server 10.8.0.0 255.255.255.0