{"action":"created","issue":{"url":"https://api.github.com/repos/amussey/FreeNAS-Transmission-OpenVPN/issues/2","labels_url":"https://api.github.com/repos/amussey/FreeNAS-Transmission-OpenVPN/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/amussey/FreeNAS-Transmission-OpenVPN/issues/2/comments","events_url":"https://api.github.com/repos/amussey/FreeNAS-Transmission-OpenVPN/issues/2/events","html_url":"https://github.com/amussey/FreeNAS-Transmission-OpenVPN/issues/2","id":112649828,"number":2,"title":"OpenVPN looses connection","user":{"login":"MrSnuggles","id":8400206,"avatar_url":"https://avatars.githubusercontent.com/u/8400206?v=3","gravatar_id":"","url":"https://api.github.com/users/MrSnuggles","html_url":"https://github.com/MrSnuggles","followers_url":"https://api.github.com/users/MrSnuggles/followers","following_url":"https://api.github.com/users/MrSnuggles/following{/other_user}","gists_url":"https://api.github.com/users/MrSnuggles/gists{/gist_id}","starred_url":"https://api.github.com/users/MrSnuggles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrSnuggles/subscriptions","organizations_url":"https://api.github.com/users/MrSnuggles/orgs","repos_url":"https://api.github.com/users/MrSnuggles/repos","events_url":"https://api.github.com/users/MrSnuggles/events{/privacy}","received_events_url":"https://api.github.com/users/MrSnuggles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-21T18:22:51Z","updated_at":"2015-10-22T21:20:33Z","closed_at":null,"body":"Hey, thank you for your work!\r\nFrom time to time i have the problem that the VPN connection fails, what is pretty bad.\r\nThe lasttime the transmission jail went to an off state.\r\nIt is possible to only allow the connection via VPN? "},"comment":{"url":"https://api.github.com/repos/amussey/FreeNAS-Transmission-OpenVPN/issues/comments/150359452","html_url":"https://github.com/amussey/FreeNAS-Transmission-OpenVPN/issues/2#issuecomment-150359452","issue_url":"https://api.github.com/repos/amussey/FreeNAS-Transmission-OpenVPN/issues/2","id":150359452,"user":{"login":"amussey","id":3020738,"avatar_url":"https://avatars.githubusercontent.com/u/3020738?v=3","gravatar_id":"","url":"https://api.github.com/users/amussey","html_url":"https://github.com/amussey","followers_url":"https://api.github.com/users/amussey/followers","following_url":"https://api.github.com/users/amussey/following{/other_user}","gists_url":"https://api.github.com/users/amussey/gists{/gist_id}","starred_url":"https://api.github.com/users/amussey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amussey/subscriptions","organizations_url":"https://api.github.com/users/amussey/orgs","repos_url":"https://api.github.com/users/amussey/repos","events_url":"https://api.github.com/users/amussey/events{/privacy}","received_events_url":"https://api.github.com/users/amussey/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T21:20:33Z","updated_at":"2015-10-22T21:20:33Z","body":"Yep, there definitely is.  The best way to do this would be through `ipfw` or `iptables` firewall rules.  There are a couple other guides for OpenVPN + Transmission that explain how to set up this sort of thing.  [Here's one](http://askubuntu.com/questions/583679/transmission-daemon-over-openvpn-on-a-beagleboard-arm-sbc), and [here's another with ipfw](https://forums.freenas.org/index.php?threads/how-to-use-openvpn-ipfw-in-a-jail-so-it-only-connects-to-the-vpn.18669/)."}}