Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions expressvpn-transmission/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ A optional string containing the ExpressVPN server LOCATION/ALIAS/COUNTRY. Conne
`SERVER=ukbe`

### T_ALLOWED
A optional string containing the Transmission IP addresses' whitelist. 127.0.0.1 is not set.
A optional string containing the Transmission IP addresses' whitelist. 127.0.0.1 is not set. Use `*` for wildcards.

`T_ALLOWED=127.0.0.1,172.17.0.1`
`T_ALLOWED=127.0.0.1,172.17.0.1,192.168.0.*`

### T_USERNAME & T_PASSWORD
Optional strings containing the Transmission username and password if you want to authenticate. There is no authentication if not set.
Expand Down
22 changes: 22 additions & 0 deletions expressvpn-transmission/docker-compose-example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
version: "3"
services:
transmission:
image: polkaned/expressvpn-transmission
container_name: express-transmission
privileged: true
tty: true
volumes:
- /home/user/Torrents:/var/lib/transmission-daemon/downloads
environment:
ACTIVATION_CODE: EXPRESSVPN-ACTIVATION-CODE
T_ALLOWED: "127.0.0.1,192.168.0.*"
T_USERNAME: "username"
T_PASSWORD: "password"
devices:
- "/dev/net/tun"
cap_add:
- NET_ADMIN
ports:
- 9091:9091

5 changes: 3 additions & 2 deletions expressvpn/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ ARG APP=expressvpn_3.55.0.4-1_amd64.deb

RUN apt-get update && apt-get install -y --no-install-recommends \
libterm-readkey-perl ca-certificates wget expect iproute2 iputils-ping curl procps libnm0 \
&& rm -rf /var/lib/apt/lists/* \
&& wget -q "https://www.expressvpn.works/clients/linux/${APP}" -O /tmp/${APP} \
&& dpkg -i /tmp/${APP} \
&& rm -rf /tmp/*.deb \
&& apt-get purge -y --auto-remove wget
&& apt-get update && apt-get upgrade -y expressvpn \
&& apt-get purge -y --auto-remove wget \
&& rm -rf /var/lib/apt/lists/*

COPY entrypoint.sh /tmp/entrypoint.sh
COPY expressvpnActivate.sh /tmp/expressvpnActivate.sh
Expand Down