{"action":"created","issue":{"url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/11","labels_url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/11/comments","events_url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/11/events","html_url":"https://github.com/haugene/docker-transmission-openvpn/issues/11","id":74777084,"number":11,"title":"Feature: Bind transmission ipv4 address to OpenVPN client IP","user":{"login":"ianneub","id":17455,"avatar_url":"https://avatars.githubusercontent.com/u/17455?v=3","gravatar_id":"","url":"https://api.github.com/users/ianneub","html_url":"https://github.com/ianneub","followers_url":"https://api.github.com/users/ianneub/followers","following_url":"https://api.github.com/users/ianneub/following{/other_user}","gists_url":"https://api.github.com/users/ianneub/gists{/gist_id}","starred_url":"https://api.github.com/users/ianneub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianneub/subscriptions","organizations_url":"https://api.github.com/users/ianneub/orgs","repos_url":"https://api.github.com/users/ianneub/repos","events_url":"https://api.github.com/users/ianneub/events{/privacy}","received_events_url":"https://api.github.com/users/ianneub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-09T22:50:27Z","updated_at":"2015-05-13T17:32:41Z","closed_at":null,"body":"When starting up transmission we should bind it to the IP given to us from PIA. This should prevent leaking our IP.\r\n\r\nThe transmission setting is `bind-address-ipv4`.\r\n\r\n## Script to get the IP of `tun0`:\r\n```\r\n# ifconfig tun0 | grep inet | awk '{print $2}'\r\naddr:10.181.1.6\r\n```\r\n## Things to consider\r\n* [ ] What if the IP changes?\r\n* [x] Will the interface always be `tun0`?"},"comment":{"url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/comments/101753903","html_url":"https://github.com/haugene/docker-transmission-openvpn/issues/11#issuecomment-101753903","issue_url":"https://api.github.com/repos/haugene/docker-transmission-openvpn/issues/11","id":101753903,"user":{"login":"haugene","id":1038094,"avatar_url":"https://avatars.githubusercontent.com/u/1038094?v=3","gravatar_id":"","url":"https://api.github.com/users/haugene","html_url":"https://github.com/haugene","followers_url":"https://api.github.com/users/haugene/followers","following_url":"https://api.github.com/users/haugene/following{/other_user}","gists_url":"https://api.github.com/users/haugene/gists{/gist_id}","starred_url":"https://api.github.com/users/haugene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haugene/subscriptions","organizations_url":"https://api.github.com/users/haugene/orgs","repos_url":"https://api.github.com/users/haugene/repos","events_url":"https://api.github.com/users/haugene/events{/privacy}","received_events_url":"https://api.github.com/users/haugene/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T17:32:41Z","updated_at":"2015-05-13T17:32:41Z","body":"If the IP changes because the interface went down and came up again, we should be OK. Transmission will be killed on interface down, and restarted on interface up.\r\n\r\nSo, can the IP change without interface going up and down?"}}