{"action":"created","issue":{"url":"https://api.github.com/repos/kylemanna/docker-openvpn/issues/346","repository_url":"https://api.github.com/repos/kylemanna/docker-openvpn","labels_url":"https://api.github.com/repos/kylemanna/docker-openvpn/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/kylemanna/docker-openvpn/issues/346/comments","events_url":"https://api.github.com/repos/kylemanna/docker-openvpn/issues/346/events","html_url":"https://github.com/kylemanna/docker-openvpn/issues/346","id":282995414,"node_id":"MDU6SXNzdWUyODI5OTU0MTQ=","number":346,"title":"How to generate client with specific port ?","user":{"login":"kevincaradant","id":6093175,"node_id":"MDQ6VXNlcjYwOTMxNzU=","avatar_url":"https://avatars0.githubusercontent.com/u/6093175?v=4","gravatar_id":"","url":"https://api.github.com/users/kevincaradant","html_url":"https://github.com/kevincaradant","followers_url":"https://api.github.com/users/kevincaradant/followers","following_url":"https://api.github.com/users/kevincaradant/following{/other_user}","gists_url":"https://api.github.com/users/kevincaradant/gists{/gist_id}","starred_url":"https://api.github.com/users/kevincaradant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevincaradant/subscriptions","organizations_url":"https://api.github.com/users/kevincaradant/orgs","repos_url":"https://api.github.com/users/kevincaradant/repos","events_url":"https://api.github.com/users/kevincaradant/events{/privacy}","received_events_url":"https://api.github.com/users/kevincaradant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-18T19:34:52Z","updated_at":"2018-05-30T20:50:44Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nI read all the documentation. I think I understood a lot of things as have two instances of the docker-openvpn to have two protocol / port different BUT I didn't understand how to generate a client with the good port. I got always a client with 1194. So for the moment I edit the file at hand.\r\n\r\nI tried: --port or -p to generate with the good port but starting with that I'm sticked:\r\n```\r\ndocker-compose run --rm openvpn easyrsa build-client-full $CLIENTNAME\r\ndocker-compose run --rm openvpn ovpn_getclient $CLIENTNAME > $CLIENTNAME.ovpn\r\n```\r\n\r\nIf you have any idea, I take it. Maybe I miss something in the doc, you will tell me  :)\r\n\r\nThank you in advance,\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/kylemanna/docker-openvpn/issues/comments/393314795","html_url":"https://github.com/kylemanna/docker-openvpn/issues/346#issuecomment-393314795","issue_url":"https://api.github.com/repos/kylemanna/docker-openvpn/issues/346","id":393314795,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzMxNDc5NQ==","user":{"login":"marvin-w","id":708887,"node_id":"MDQ6VXNlcjcwODg4Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/708887?v=4","gravatar_id":"","url":"https://api.github.com/users/marvin-w","html_url":"https://github.com/marvin-w","followers_url":"https://api.github.com/users/marvin-w/followers","following_url":"https://api.github.com/users/marvin-w/following{/other_user}","gists_url":"https://api.github.com/users/marvin-w/gists{/gist_id}","starred_url":"https://api.github.com/users/marvin-w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvin-w/subscriptions","organizations_url":"https://api.github.com/users/marvin-w/orgs","repos_url":"https://api.github.com/users/marvin-w/repos","events_url":"https://api.github.com/users/marvin-w/events{/privacy}","received_events_url":"https://api.github.com/users/marvin-w/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T20:50:44Z","updated_at":"2018-05-30T20:50:44Z","author_association":"NONE","body":"In my opinion easyrsa is in no way connected to this issue.\r\n\r\nWhat @kevincaradant wants is to edit the $OVPN_PORT at https://github.com/kylemanna/docker-openvpn/blob/master/bin/ovpn_getclient#L40, which is not possible right now as it comes from the ovpn_env.sh script.\r\n\r\nBut if you execute your command with the right volume it should work imo."}}
{"actor":{"display_login":"marvin-w"}}