Skip to content

Instantly share code, notes, and snippets.

@subfission
Created November 22, 2019 06:04
Show Gist options
  • Select an option

  • Save subfission/d8564693e0723761a8bb8c82e77286cf to your computer and use it in GitHub Desktop.

Select an option

Save subfission/d8564693e0723761a8bb8c82e77286cf to your computer and use it in GitHub Desktop.
Dockerized Transmission over OpenVPN
sudo docker run -it --cap-add=NET_ADMIN --device /dev/net/tun --name vpn \
--dns 8.8.4.4 --dns 8.8.8.8 --restart=always \
-d dperson/openvpn-client ||
sudo docker run -it --name bit --net=container:vpn \
-d dperson/transmission
sudo docker run -it --name web -p 80:80 -p 443:443 --link vpn:bit \
-d dperson/nginx -w "http://bit:9091/transmission;/transmission"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment