This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
docker_notes:docker-deluge [2024-01-10 Wed wk02 19:23] – [Docker Deluge Image / Service] baumkp | docker_notes:docker-deluge [2024-01-10 Wed wk02 19:32] – [Docker network] baumkp |
---|
{{tag>linux docker image container init s6 s6-rc openvpn "docker compose" wireguard macvlan nftables}} | {{tag>linux docker image container init s6 s6-rc openvpn "docker compose" wireguard macvlan nftables}} |
======Docker Deluge Image / Service====== | ======Docker Deluge Image / Service====== |
I want a torrent service that uses a VPN and is set-up to have blocked WAN (internet) access. On my virtual machine implementation of this I used the following 3 packages: deluge (deluged with deluge-web), openvpn and nftables. I used both iptables and nftables and nftables is definitely more elegant to use. As far as I can tell there is not Docker image that will meet my needs. So time to delve in deeper myself. I have been successfully been running this in a container on my home server since early 2023. This replaced the a similar setup that have I been operating since about 2017 on a virtual machine using Linux KVM/Libvirt/QEMU. | I want a torrent service that uses a VPN and is set-up to block non VPN WAN (internet) access. On my virtual machine implementation of this I used the following 3 packages: deluge (deluged with deluge-web), openvpn and nftables. I have used both iptables and nftables and find nftables is definitely more elegant to use. As far as I can tell there is not a Docker image that will meet my needs. |
| |
| I have been successfully been running this in a container on my home server since early 2023. This replaced the a similar setup that have I been operating since about 2017 on a virtual machine using Linux KVM/Libvirt/QEMU. |
| |
=====s6 supervision rc system===== | =====s6 supervision rc system===== |
| |
=====Docker network===== | =====Docker network===== |
As described in the vpn section [[https://wiki.kptree.net/doku.php?id=tech_notes:docker-deluge#openvpn_setup|openvpn setup]], I decided to go with the docker macvlan network setup. This needs to be separately created and can then be called up when the container is run. A static ip address can be assigned when run. | As described in the vpn section [[https://wiki.kptree.net/doku.php?id=docker_notes:docker-deluge#openvpn_setup|openvpn setup]], I decided to go with the docker macvlan network setup. This needs to be separately created and can then be called up when the container is run. A static ip address can be assigned when run. |
<code bash> | <code bash> |
docker network create -d macvlan \ | docker network create -d macvlan \ |