HUB
Sign inSign up

fullaxx/rtorrent-openvpn

By fullaxx

•Updated about 4 years ago

rtorrent with openvpn

Image
0

1.5K

fullaxx/rtorrent-openvpn repository overview

⁠A small docker image running rtorrent with openvpn

⁠Base Docker Image

Ubuntu⁠ 20.04 (x64)

⁠Software

⁠Get the image from Docker Hub or build it locally

docker pull fullaxx/rtorrent-openvpn
docker build -t="fullaxx/rtorrent-openvpn" github.com/Fullaxx/rtorrent-openvpn

⁠Required Volume Options

Input: Drop your torrents in /srv/docker/rtorrent/autoload/

-v /srv/docker/rtorrent/autoload:/rtorrent/autoload

Output: Your downloaded data will reside here

-v /srv/docker/rtorrent/torrents:/rtorrent/torrents

⁠Optional Volume Options

Configuration: Any .ovpn files or a custom rtorrent.rc can be placed in /srv/docker/rtorrent/config/

-v /srv/docker/rtorrent/config:/rtorrent/config

Session State: Use this to save your session for fast restore/resume

-v /srv/docker/rtorrent/session:/rtorrent/session

⁠Run the image

Run the image using the default port without OpenVPN

docker run -it \
-v /srv/docker/rtorrent/autoload:/rtorrent/autoload \
-v /srv/docker/rtorrent/torrents:/rtorrent/torrents \
fullaxx/rtorrent-openvpn

Run the image using the default port with OpenVPN
Make sure that your myconnection.ovpn exists in /srv/docker/rtorrent/config/

docker run -it \
--cap-add=NET_ADMIN --device /dev/net/tun \
--sysctl net.ipv6.conf.all.disable_ipv6=0 \
-e OVPNCFG='myconnection.ovpn' \
-e OVPNSLEEPTIME='9' \
-e LOGFILE='mylog' \
-v /srv/docker/rtorrent/autoload:/rtorrent/autoload \
-v /srv/docker/rtorrent/torrents:/rtorrent/torrents \
-v /srv/docker/rtorrent/config:/rtorrent/config \
-v /srv/docker/rtorrent/session:/rtorrent/session \
fullaxx/rtorrent-openvpn

Tag summary

Content type

Image

Digest

sha256:e7140d03a…

Size

41.7 MB

Last updated

about 4 years ago

docker pull fullaxx/rtorrent-openvpn