-
Is there a pinned issue for this?
Is there an existing or similar issue/discussion for this?
Is there any comment in the documentation for this?
Is this related to a provider?
Are you using the latest release?
Have you tried using the dev branch latest?
Config used---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: transmission
ver: v4
name: transmission
namespace: downloaders
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: transmission
ver: v4
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: transmission
ver: v4
spec:
containers:
- env:
- name: OPENVPN_PROVIDER
value: vpnunlimited
- name: OPENVPN_CONFIG
value: fr
- name: OPENVPN_USERNAME
valueFrom:
secretKeyRef:
key: username
name: "{redacted}"
- name: OPENVPN_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: "{redacted}"
- name: TRANSMISSION_RPC_USERNAME
value: "{redacted}"
- name: TRANSMISSION_RPC_PASSWORD
value: "{redacted}"
- name: TRANSMISSION_RPC_AUTHENTICATION_REQUIRED
value: "true"
- name: TRANSMISSION_DOWNLOAD_DIR
value: /downloads/transmission
- name: PUID
value: "1001"
- name: PGID
value: "1001"
- name: TRANSMISSION_UMASK
value: "18"
- name: TRANSMISSION_RATIO_LIMIT
value: "1"
- name: TRANSMISSION_BLOCKLIST_ENABLED
value: "true"
- name: TRANSMISSION_BLOCKLIST_URL
value: https://github.com/Naunter/BT_BlockLists/raw/master/bt_blocklists.gz
- name: TRANSMISSION_ENCRYPTION
value: "2"
- name: TRANSMISSION_RATIO_LIMIT_ENABLED
value: "true"
- name: CREATE_TUN_DEVICE
value: "true"
- name: WEBPROXY_ENABLED
value: "true"
- name: WEBPROXY_PORT
value: "8118"
- name: TRANSMISSION_RPC_WHITELIST
value: 10.1.183.*,127.0.0.1
- name: TRANSMISSION_RPC_WHITELIST_ENABLED
value: "true"
- name: LOG_TO_STDOUT
value: "true"
- name: OPENVPN_OPTS
value: --inactive 3600 --ping 10 --ping-exit 60
- name: LOCAL_NETWORK
value: 10.1.183.0/24
image: haugene/transmission-openvpn:latest
imagePullPolicy: Always
name: transmission
ports:
- containerPort: 9091
name: http
protocol: TCP
- containerPort: 8081
name: webproxy
protocol: TCP
resources: {}
securityContext:
allowPrivilegeEscalation: false
privileged: false
capabilities:
add:
- NET_ADMIN
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: transmission
subPath: configs
- mountPath: /downloads/transmission
name: transmission
subPath: downloads
- mountPath: /etc/openvpn/vpnunlimited/fr.ovpn
name: config
subPath: fr.vpnunlimited.ovpn
restartPolicy: Always
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: transmission
persistentVolumeClaim:
claimName: transmissionv2
- configMap:
defaultMode: 420
name: openvpn-common-config
name: config Current BehaviorVPN not functioning properly, resolv.config doesn't contain any dns entry i can see tun0 created. Expected BehaviorConnect to vpn provider successfully and system should be able to access internet How have you tried to solve the problem?I have a container with v3.x running with same configs without any failuers. Log output
Environment- OS:Ubuntu 20.04
- Docker: Kubernetes
- tag: latest
- vpn config mounted. Anything else?I have a release running on v3.x without any issues. I am deploying new instance to migrate from v3 to v4. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
after some investigation i can see it's not able to connect to cluster or network dns. instead if i use public dns by overriding dns policy. than it works. |
Beta Was this translation helpful? Give feedback.
-
You haven’t posted your container config.. |
Beta Was this translation helpful? Give feedback.
-
updated. |
Beta Was this translation helpful? Give feedback.
-
Doesn’t make sense that you are mounting a vpn config AND specifying the provider.. either specify provider and let the container auto load or OR set provider as CUSTOM and mount the config profile as default (see documentation on custom provider) |
Beta Was this translation helpful? Give feedback.
Doesn’t make sense that you are mounting a vpn config AND specifying the provider.. either specify provider and let the container auto load or OR set provider as CUSTOM and mount the config profile as default (see documentation on custom provider)
DNS resolution worked because it was able to download the profiles..
This doesn’t really look like a bug but more like config problems.. please fix above then update if there is a bug, otherwise this is better suited to discussions