{"action":"opened","issue":{"url":"https://api.github.com/repos/adamwalach/openvpn-web-ui/issues/13","repository_url":"https://api.github.com/repos/adamwalach/openvpn-web-ui","labels_url":"https://api.github.com/repos/adamwalach/openvpn-web-ui/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/adamwalach/openvpn-web-ui/issues/13/comments","events_url":"https://api.github.com/repos/adamwalach/openvpn-web-ui/issues/13/events","html_url":"https://github.com/adamwalach/openvpn-web-ui/issues/13","id":338843817,"node_id":"MDU6SXNzdWUzMzg4NDM4MTc=","number":13,"title":"Server is always 10.8.0.0 255.255.255.0","user":{"login":"sublee","id":19982,"node_id":"MDQ6VXNlcjE5OTgy","avatar_url":"https://avatars0.githubusercontent.com/u/19982?v=4","gravatar_id":"","url":"https://api.github.com/users/sublee","html_url":"https://github.com/sublee","followers_url":"https://api.github.com/users/sublee/followers","following_url":"https://api.github.com/users/sublee/following{/other_user}","gists_url":"https://api.github.com/users/sublee/gists{/gist_id}","starred_url":"https://api.github.com/users/sublee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sublee/subscriptions","organizations_url":"https://api.github.com/users/sublee/orgs","repos_url":"https://api.github.com/users/sublee/repos","events_url":"https://api.github.com/users/sublee/events{/privacy}","received_events_url":"https://api.github.com/users/sublee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-06T08:05:10Z","updated_at":"2018-07-06T08:05:10Z","closed_at":null,"author_association":"NONE","body":"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`.\r\n\r\n![image](https://user-images.githubusercontent.com/19982/42367185-50b6dd44-813e-11e8-8b97-7b0b864ce0d4.png)\r\n\r\n```\r\nserver 10.8.0.0 255.255.255.0\r\nifconfig-pool-persist ipp.txt\r\npush \"route 10.8.0.0 255.255.255.0\"\r\npush \"dhcp-option DNS 8.8.8.8\"\r\npush \"dhcp-option DNS 8.8.4.4\"\r\n```\r\n\r\nThe reason is hardcoding in `openvpn-server-config.tpl`:\r\n\r\nhttps://github.com/adamwalach/openvpn-web-ui/blob/ef374aa0330ffc2ed60856c856742abf6aed893d/conf/openvpn-server-config.tpl#L17"}}
{"actor":{"display_login":"sublee"}}