Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker_notes:docker-deluge [2024-01-10 Wed wk02 19:51] – [OpenVPN setup] baumkp | docker_notes:docker-deluge [2024-12-12 Thu wk50 22:19] (current) – [OpenVPN setup] baumkp | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | + | {{tag> |
======Docker Deluge Image / Service====== | ======Docker Deluge Image / Service====== | ||
I want a torrent service that uses a VPN and is set-up to block non VPN WAN (internet) access. | I want a torrent service that uses a VPN and is set-up to block non VPN WAN (internet) access. | ||
Line 5: | Line 5: | ||
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/ | 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/ | ||
- | =====s6 supervision rc system===== | ||
- | I decided to build this container image based upon Alpine Linux using the [[https:// | ||
- | S6 [[http:// | ||
- | |||
- | ++++Basic S6 commands:| | ||
- | |||
- | *'' | ||
- | *'' | ||
- | *'' | ||
- | *'' | ||
- | *'' | ||
- | *'' | ||
- | *'' | ||
- | *'' | ||
- | |||
- | BTW dont spell dependencies as dependencies and wonder why things don't work, lol the English language sucks. | ||
- | ++++ | ||
- | |||
- | |||
- | Reference: | ||
- | *[[https:// | ||
- | *[[https:// | ||
- | *[[https:// | ||
- | |||
- | ---- | ||
- | |||
- | Other Supervisor software discussions: | ||
- | *[[https:// | ||
- | *supervisord: | ||
- | *[[https:// | ||
=====dockerfile===== | =====dockerfile===== | ||
++++Dockerfile| | ++++Dockerfile| | ||
Line 110: | Line 80: | ||
* where $lan is set to lan interface, e.g. enp1s0 | * where $lan is set to lan interface, e.g. enp1s0 | ||
* '' | * '' | ||
- | * When running nftables to stop leakage of vpn it was found that the docker networking cause failure. | + | * When running nftables to stop leakage of vpn it was found that the docker networking cause failure. |
* Need to manually create ++/ | * Need to manually create ++/ | ||
#!/bin/sh | #!/bin/sh | ||
Line 118: | Line 88: | ||
chmod 660 / | chmod 660 / | ||
- | echo " | ||
- | echo " | ||
echo " | echo " | ||
echo " | echo " | ||
Line 135: | Line 103: | ||
*To check external IP '' | *To check external IP '' | ||
*OpenVPN [[https:// | *OpenVPN [[https:// | ||
+ | |||
+ | *[[https:// | ||
+ | *Add '' | ||
+ | *Or | ||
+ | < | ||
+ | - / | ||
+ | </ | ||
+ | | ||
=====docker external volumes===== | =====docker external volumes===== | ||
There are 2 type of volume needs in this set up. | There are 2 type of volume needs in this set up. | ||
Line 262: | Line 238: | ||
A list of [[https:// | A list of [[https:// | ||
+ | |||
+ | ====Shell Builtin Commands==== | ||
+ | Many shells have builtin commands that can be listed with the command '' | ||
+ | |||
+ | Some additional related commands: | ||
+ | *'' | ||
+ | *'' | ||
+ | |||
+ | See: | ||
+ | *The Unix School [[https:// | ||
+ | *[[https:// | ||
=====References===== | =====References===== |