Comments (7)
I think your network value should be like this:
- name: LOCAL_NETWORK
value: "192.168.0.0/24"
from geek-charts.
@andrewc910 Did you ever figure out what was the issue?
from geek-charts.
@razagill I a pretty sure the error was due to miss configuration of the local network IP value.
from geek-charts.
I tried the value you provided. It didnt end up working. I ended up switching to nordvpn and that just worked.
However, i just moved and i need to resetup my server. I can give another tey to proton if youd like. I still have the config file.
from geek-charts.
@andrewc910 Sure, I also tried it with 2 different providers (expressvpn and premiumize) and both give the same error. I even tried the CREATE_TUN_DEVICE
environment variable from the underlying docker image itself here but still the same error.
replicaCount: 1
image:
repository: "haugene/transmission-openvpn"
tag: "latest"
pullPolicy: "IfNotPresent"
dnsPolicy: "None"
dnsConfig:
nameservers:
- 8.8.8.8
- 8.8.4.4
env:
- name: OPENVPN_PROVIDER
value: "CUSTOM" # VPN provider. List of supported providers: https://haugene.github.io/docker-transmission-openvpn/supported-providers/
- name: OPENVPN_USERNAME
valueFrom: # Reference to the secret | openvpn.username
secretKeyRef:
name: "openvpn"
key: "username"
- name: OPENVPN_PASSWORD
valueFrom: # Reference to the secret | openvpn.password
secretKeyRef:
name: "openvpn"
key: "password"
- name: LOCAL_NETWORK
value: "192.168.0.0/24"
- name: TRANSMISSION_PEER_PORT
value: "47444"
- name: TRANSMISSION_DOWNLOAD_DIR
value: "/downloads/transmission"
- name: PUID
value: "1000"
- name: PGID
value: "1000"
service:
type: ClusterIP
port: 80
volumes:
- name: "media-ssd"
persistentVolumeClaim:
claimName: "media-ssd"
- name: dev-tun
hostPath:
path: "/dev/net/tun"
- name: config
configMap:
name: "openvpn-common-config"
volumeMounts:
- name: "media-ssd"
mountPath: "/data"
subPath: "configs/transmission-data" # Path /mnt/ssd/media/configs/transmission-data where transmission writes the configuration
- name: "media-ssd"
mountPath: "/downloads/transmission"
subPath: "downloads/transmission" # Path /mnt/ssd/media/downloads/transmission where transmission downloads Torrents
- name: dev-tun
mountPath: "/dev/net/tun"
- name: config
mountPath: "/etc/openvpn/custom/default.ovpn"
securityContext:
#privileged: true
capabilities: # Needed for VPN
add:
- NET_ADMIN
from geek-charts.
You guys need to add more env variables see this here. Also you can see a good set up here It uses NORDVPN in the transmission part.
Edits were for links
from geek-charts.
i got it working with the following values:
image:
repository: "haugene/transmission-openvpn"
tag: "latest"
pullPolicy: "IfNotPresent"
env:
- name: OPENVPN_PROVIDER
value: "PROTONVPN"
- name: OPENVPN_USERNAME
valueFrom:
secretKeyRef:
name: "openvpn"
key: "username"
- name: OPENVPN_PASSWORD
valueFrom:
secretKeyRef:
name: "openvpn"
key: "password"
- name: OPENVPN_CONFIG
value: "ch-05.protonvpn.com.udp,ch-08.protonvpn.com.udp,nl-04.protonvpn.com.udp,nl-11.protonvpn.com.udp"
- name: LOCAL_NETWORK
value: "192.168.3.0/24"
- name: TRANSMISSION_PEER_PORT
value: "47444"
- name: TRANSMISSION_DOWNLOAD_DIR
value: "/downloads/transmission"
- name: PUID
value: "1000"
- name: PGID
value: "1000"
service:
type: ClusterIP
port: 80
volumes:
- name: "media-ssd"
persistentVolumeClaim:
claimName: "media-ssd"
- name: "dev-tun"
hostPath:
path: "/dev/net/tun"
volumeMounts:
- name: "media-ssd"
mountPath: "/data"
subPath: "configs/transmission-data"
- name: "media-ssd"
mountPath: "/downloads/transmission"
subPath: "downloads/transmission"
- name: "dev-tun"
mountPath: "/dev/net/tun"
securityContext:
capabilities:
add:
- NET_ADMIN
from geek-charts.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geek-charts.