Giter VIP home page Giter VIP logo

alpine-wireguard-transmission's Introduction

alpine-wireguard-transmission README

docker container for running transmission inside a wireguard network namespace with ssh server that allows port forwarding through wireguard.

Requirements

  • Create a folder to map that will store torrents and config in the example below it's "/home/jmandawg/data"
  • The user-id and group-id that will be used on the output files/folders - This user must have read/write access to the /data folder above
  • All variables prefixed with "WG_" come from your VPN provider
  • After first run your transmission settings.json file will be located in /data/transmission-config directory.
    You can stop the docker container and moify them to your liking. Do not modify "rpc-bind-address" or "rpc-whitelist"
  • The web interface should be available on the docker host on port 9091 (or whatever port you map it to).
  • This will probaly only work on ipv4 as that's all i can test on.
  • set the root password environment variable if you want to use ssh for port forwarding through wireguard

Example Running

docker run -it
-e WG_IF_PRIVATE_KEY="abc123...."
-e WG_IF_ADDRESS="10.x.x./32"
-e WG_IF_DNS="10.x.x.x"
-e WG_PEER_PUBLIC_KEY="abc123...."
-e WG_PEER_PRESHARED_KEY="abc123..."
-e WG_PEER_ENDPOINT="host:port"
-e WG_ALLOWED_IPS="0.0.0.0/0, ::/0"
-e GROUP_ID="1000"
-e USER_ID="1000"
-e ROOT_PASSWD='=!S0m3P@ssW0rd!='
-e PRE_SCRIPT_CMD='echo "hello pre-script"'
-e POST_SCRIPT_CMD='echo "hello post-script"'
--privileged
--name wireguard-transmission
-p 9022:22
-p 9099:9091
--sysctl net.ipv4.ip_forward=1
-v /home/jmandawg/data:/data \

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.