{"action":"created","issue":{"url":"https://api.github.com/repos/kylemanna/docker-openvpn/issues/167","repository_url":"https://api.github.com/repos/kylemanna/docker-openvpn","labels_url":"https://api.github.com/repos/kylemanna/docker-openvpn/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/kylemanna/docker-openvpn/issues/167/comments","events_url":"https://api.github.com/repos/kylemanna/docker-openvpn/issues/167/events","html_url":"https://github.com/kylemanna/docker-openvpn/issues/167","id":183226985,"number":167,"title":"\"packet HMAC authentication failed\" on Docker Cloud hosted on Azure","user":{"login":"razvanmitre","id":2083827,"avatar_url":"https://avatars.githubusercontent.com/u/2083827?v=3","gravatar_id":"","url":"https://api.github.com/users/razvanmitre","html_url":"https://github.com/razvanmitre","followers_url":"https://api.github.com/users/razvanmitre/followers","following_url":"https://api.github.com/users/razvanmitre/following{/other_user}","gists_url":"https://api.github.com/users/razvanmitre/gists{/gist_id}","starred_url":"https://api.github.com/users/razvanmitre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razvanmitre/subscriptions","organizations_url":"https://api.github.com/users/razvanmitre/orgs","repos_url":"https://api.github.com/users/razvanmitre/repos","events_url":"https://api.github.com/users/razvanmitre/events{/privacy}","received_events_url":"https://api.github.com/users/razvanmitre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-15T19:09:14Z","updated_at":"2016-10-20T08:11:58Z","closed_at":null,"body":"Hello,\r\n\r\nI am trying to setup an OpenVPN server on Docker Cloud hosted on Azure.\r\n\r\nThe problem is that when I try to connect with a client on the VPN server it gives this error:\r\n```\r\nTLS Error: incoming packet authentication failed from [AF_INET] ip:1025 \r\nAuthenticate/Decrypt packet error: packet HMAC authentication failed\r\n```\r\n\r\nThis error also appears immediately after initialization, in that case ip is the server's ip. So I think that not even the server can connect to itself.\r\n\r\nI am using this docker image: https://hub.docker.com/r/aestheticworks/openvpn-server-public\r\nfrom this git repo https://bitbucket.org/aesthetic/openvpn-server-public/src\r\n\r\nI am using kylemanna/openvpn with some custom scripts, but nothing that changes the functionality.\r\n\r\nThe stack file on Docker Cloud is:\r\n```\r\nopenvpn:\r\n  cap_add:\r\n    - NET_ADMIN\r\n  image: 'aestheticworks/openvpn-server-public:latest'\r\n  ports:\r\n    - '1194:1194/udp'\r\n  restart: always\r\n  volumes:\r\n    - /etc/openvpn\r\n```\r\n\r\nI have tried this exact configuration on a standard EC2 instance, with docker-compose and it works.\r\n\r\nDoes anyone know why it is not working on Docker Cloud?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/kylemanna/docker-openvpn/issues/comments/255038454","html_url":"https://github.com/kylemanna/docker-openvpn/issues/167#issuecomment-255038454","issue_url":"https://api.github.com/repos/kylemanna/docker-openvpn/issues/167","id":255038454,"user":{"login":"ykzk","id":4079881,"avatar_url":"https://avatars.githubusercontent.com/u/4079881?v=3","gravatar_id":"","url":"https://api.github.com/users/ykzk","html_url":"https://github.com/ykzk","followers_url":"https://api.github.com/users/ykzk/followers","following_url":"https://api.github.com/users/ykzk/following{/other_user}","gists_url":"https://api.github.com/users/ykzk/gists{/gist_id}","starred_url":"https://api.github.com/users/ykzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ykzk/subscriptions","organizations_url":"https://api.github.com/users/ykzk/orgs","repos_url":"https://api.github.com/users/ykzk/repos","events_url":"https://api.github.com/users/ykzk/events{/privacy}","received_events_url":"https://api.github.com/users/ykzk/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T08:11:58Z","updated_at":"2016-10-20T08:11:58Z","body":"`Server Version: 1.12.2`\r\n\r\nMy story is that I lost my data volume somehow; I didn't notice it immediately as I was trying to add a key for a new laptop and wasn't able to. After some time and out of idea, I rebuilt the container from scratch and only then noticed that the data volume was gone.\r\nI followed the new Readme to remake everything but the data volume is not being created automatically and I don't get any error message about it. It works after I create it manually though."}}
{"actor":{"display_login":"ykzk"}}