[GH-ISSUE #13] Server is always 10.8.0.0 255.255.255.0 #11

Open
opened 2026-02-25 20:30:16 +03:00 by kerem · 0 comments
Owner

Originally created by @sublee on GitHub (Jul 6, 2018).
Original GitHub issue: https://github.com/adamwalach/openvpn-web-ui/issues/13

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:

github.com/adamwalach/openvpn-web-ui@ef374aa033/conf/openvpn-server-config.tpl (L17)

Originally created by @sublee on GitHub (Jul 6, 2018). Original GitHub issue: https://github.com/adamwalach/openvpn-web-ui/issues/13 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](https://user-images.githubusercontent.com/19982/42367185-50b6dd44-813e-11e8-8b97-7b0b864ce0d4.png) ``` 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`: https://github.com/adamwalach/openvpn-web-ui/blob/ef374aa0330ffc2ed60856c856742abf6aed893d/conf/openvpn-server-config.tpl#L17
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/openvpn-web-ui#11
No description provided.