docker-transmission-openvpn
docker-transmission-openvpn copied to clipboard
IPVanish uses deprecated options for OpenVPN 2.6
Is there a pinned issue for this?
- [x] I have read the pinned issues and could not find my issue
Is there an existing or similar issue/discussion for this?
- [x] I have searched the existing issues
- [x] I have searched the existing discussions
Is there any comment in the documentation for this?
- [x] I have read the documentation, especially the FAQ and Troubleshooting parts
Is this related to a provider?
- [x] I have checked the provider repo for issues
- [x] My issue is NOT related to a provider
Are you using the latest release?
- [x] I am using the latest release
Have you tried using the dev branch latest?
- [ ] I have tried using dev branch
Docker run config used
transmission-openvpn: build: ./build/transmission container_name: transmission-openvpn networks: intranet: ipv4_address: xxxx dns: - 10.0.20.2 environment: - "PUID=1000" - "PGID=10000" - "OPENVPN_PROVIDER=IPVANISH" - "OPENVPN_CONFIG=ipvanish-CA-Montreal-yul-c24" - "OPENVPN_USERNAME=xxxx" - "OPENVPN_PASSWORD=xxxx" - "OPENVPN_OPTS=--reneg-sec 300 --ping 10 --ping-restart 60" - "WEBPROXY_ENABLED=false" - "LOCAL_NETWORK=xxxx" - "CREATE_TUN_DEVICE=false" - "TZ=xxxx" cap_add: - NET_ADMIN devices: - "/dev/net/tun" logging: driver: json-file options: max-size: 10m volumes: - xxxx depends_on: - xxxx restart: unless-stopped
Current Behavior
Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/ipvanish/ipvanish-XXXX.ovpn:15: keysize (2.6.12)
Expected Behavior
This "keysize" option is part of all IPVanish config files, I'm not sure why OpenVPN doesn't just ignore is instead of crashing.
How have you tried to solve the problem?
- I have solved the problem adding: - "OPENVPN_OPTS=--ignore-unknown-option keysize"
- A permanent solution would be to add all the deprecated option in the config mod in https://github.com/haugene/docker-transmission-openvpn/blob/master/openvpn/modify-openvpn-config.sh for the openvpn option in the current release.
- An other option would be to add an environment variable with options we want to ignore.
- This ignore-unknown-option should be added to the docs. It was hard to find how to ignore a configuration in the openvpn docs.
Log output
Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/ipvanish/ipvanish-XXXX.ovpn:15: keysize (2.6.12)
HW/SW Environment
- OS: Ubuntu 22.04
- Docker: 27.5.1
Anything else?
No response