Open sublee opened 6 years ago
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.
10.99.0.0 255.255.0.0
server.conf
10.8.0.0 255.255.255.0
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:
openvpn-server-config.tpl
https://github.com/adamwalach/openvpn-web-ui/blob/ef374aa0330ffc2ed60856c856742abf6aed893d/conf/openvpn-server-config.tpl#L17
Even though I config the server as
10.99.0.0 255.255.0.0
, the generatedserver.conf
always says the server is10.8.0.0 255.255.255.0
.The reason is hardcoding in
openvpn-server-config.tpl
:https://github.com/adamwalach/openvpn-web-ui/blob/ef374aa0330ffc2ed60856c856742abf6aed893d/conf/openvpn-server-config.tpl#L17