{"action":"created","issue":{"url":"https://api.github.com/repos/RMerl/asuswrt-merlin.ng/issues/192","repository_url":"https://api.github.com/repos/RMerl/asuswrt-merlin.ng","labels_url":"https://api.github.com/repos/RMerl/asuswrt-merlin.ng/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/RMerl/asuswrt-merlin.ng/issues/192/comments","events_url":"https://api.github.com/repos/RMerl/asuswrt-merlin.ng/issues/192/events","html_url":"https://github.com/RMerl/asuswrt-merlin.ng/issues/192","id":354001928,"node_id":"MDU6SXNzdWUzNTQwMDE5Mjg=","number":192,"title":"[OpenVPN] - parameter \"duplicate-cn\" always enabled","user":{"login":"wlk","id":314328,"node_id":"MDQ6VXNlcjMxNDMyOA==","avatar_url":"https://avatars2.githubusercontent.com/u/314328?v=4","gravatar_id":"","url":"https://api.github.com/users/wlk","html_url":"https://github.com/wlk","followers_url":"https://api.github.com/users/wlk/followers","following_url":"https://api.github.com/users/wlk/following{/other_user}","gists_url":"https://api.github.com/users/wlk/gists{/gist_id}","starred_url":"https://api.github.com/users/wlk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlk/subscriptions","organizations_url":"https://api.github.com/users/wlk/orgs","repos_url":"https://api.github.com/users/wlk/repos","events_url":"https://api.github.com/users/wlk/events{/privacy}","received_events_url":"https://api.github.com/users/wlk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-25T10:24:07Z","updated_at":"2018-09-10T03:35:09Z","closed_at":null,"author_association":"NONE","body":"This the the configuration copied from `/etc/openvpn/server1/config.ovpn` (I logged to the router via ssh)\r\n\r\n```\r\n# Automatically generated configuration\r\ndaemon ovpn-server1\r\ntopology subnet\r\nserver 10.8.0.0 255.255.255.0\r\nproto udp\r\nport 1194\r\ndev tun21\r\nncp-ciphers AES-128-GCM:AES-256-GCM:AES-128-CBC:AES-256-CBC\r\ncipher AES-128-CBC\r\ncomp-lzo adaptive\r\nkeepalive 15 60\r\nverb 3\r\npush \"route 192.168.16.0 255.255.255.0 vpn_gateway 500\"\r\nduplicate-cn\r\npush \"redirect-gateway def1\"\r\nca ca.crt\r\ndh dh.pem\r\ncert server.crt\r\nkey server.key\r\nstatus-version 2\r\nstatus status 5\r\n\r\n# Custom Configuration\r\n```\r\n\r\nSome of the configuration options are configurable via the Web-UI, but it's not possible to disable `duplicate-cn` parameter, preventing users from using various features like `ifconfig-pool-persist` because those 2 options are incompatible.\r\n\r\n```\r\nWARNING: --ifconfig-pool-persist will not work with --duplicate-cn\r\n```\r\n\r\nI suggest to add the option to disable `duplicate-cn` parameter via the Web-UI"},"comment":{"url":"https://api.github.com/repos/RMerl/asuswrt-merlin.ng/issues/comments/419778028","html_url":"https://github.com/RMerl/asuswrt-merlin.ng/issues/192#issuecomment-419778028","issue_url":"https://api.github.com/repos/RMerl/asuswrt-merlin.ng/issues/192","id":419778028,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTc3ODAyOA==","user":{"login":"RMerl","id":1661562,"node_id":"MDQ6VXNlcjE2NjE1NjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1661562?v=4","gravatar_id":"","url":"https://api.github.com/users/RMerl","html_url":"https://github.com/RMerl","followers_url":"https://api.github.com/users/RMerl/followers","following_url":"https://api.github.com/users/RMerl/following{/other_user}","gists_url":"https://api.github.com/users/RMerl/gists{/gist_id}","starred_url":"https://api.github.com/users/RMerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RMerl/subscriptions","organizations_url":"https://api.github.com/users/RMerl/orgs","repos_url":"https://api.github.com/users/RMerl/repos","events_url":"https://api.github.com/users/RMerl/events{/privacy}","received_events_url":"https://api.github.com/users/RMerl/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T03:35:09Z","updated_at":"2018-09-10T03:35:09Z","author_association":"OWNER","body":"I don't want to dedicate a webui setting just for that parameter because it would be too esoteric (maybe 2 or 3 users would ever need that setting), and would go against the recent work done at simplifying it.\r\n\r\nMy recommendation for now is to create a postconf script that will remove that entry from the generated config file."}}
{"actor":{"display_login":"RMerl"}}