haugene / vpn-configs-contrib

A collection of configs for various VPN providers
GNU General Public License v3.0
174 stars 739 forks source link

#212 breaks openvpn because it provides more than 64 remotes #213

Closed maxenced closed 1 year ago

maxenced commented 1 year ago

Is there a pinned issue for this?

Is there an existing or similar issue for this?

Is there any comment in the documentation for this?

Is this related to the container/transmission?

Are you using the latest release?

Have you tried using the dev branch latest?

Config used

docker using latest transmission-openvpn with nl.protonvpn.net.udp.ovpn provider

Current Behavior

Openvpn crash at startup with :

Options error: Maximum number of 'remote' options (64) exceeded

Expected Behavior

Openvpn should start correctly

How have you tried to solve the problem?

Previous release was fine , but #212 broke the whole thing by providing more than 64 remotes

Log output

transmission-openvpn | No bundled config script found for PROTONVPN. Defaulting to external config
transmission-openvpn | Downloading configs from https://github.com/haugene/vpn-configs-contrib/archive/main.zip into /tmp/tmp.OS5Mzz2wzB
transmission-openvpn | Extracting configs to /tmp/tmp.5b7ICCHpAp
transmission-openvpn | Found configs for PROTONVPN in /tmp/tmp.5b7ICCHpAp/vpn-configs-contrib-main/openvpn/protonvpn, will replace current content in /etc/openvpn/protonvpn
transmission-openvpn | Cleanup: deleting /tmp/tmp.OS5Mzz2wzB and /tmp/tmp.5b7ICCHpAp
transmission-openvpn | Starting OpenVPN using config nl.protonvpn.net.udp.ovpn
transmission-openvpn | Modifying /etc/openvpn/protonvpn/nl.protonvpn.net.udp.ovpn for best behaviour in this container
transmission-openvpn | Modification: Point auth-user-pass option to the username/password file
transmission-openvpn | Modification: Change ca certificate path
transmission-openvpn | Modification: Change ping options
transmission-openvpn | Modification: Update/set resolv-retry to 15 seconds
transmission-openvpn | Modification: Change tls-crypt keyfile path
transmission-openvpn | Modification: Set output verbosity to 3
transmission-openvpn | Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop
transmission-openvpn | Modification: Updating status for config failure detection
transmission-openvpn | Setting OpenVPN credentials...
transmission-openvpn | adding route to local network 192.168.0.0/16 via 172.19.0.1 dev eth0
transmission-openvpn | Options error: Maximum number of 'remote' options (64) exceeded

Environment

- OS:Ubuntu 23.04
- Docker: 23.0.6

Anything else?

No response

pkishino commented 1 year ago

fixed