Open hadim opened 3 years ago
It looks like the ip in the ovpn file is now different so I tried to use a custom ovpn file but I have the same error:
client
dev tun
proto tcp
remote 37.120.205.85 443
remote 37.120.205.85 5995
remote 37.120.205.85 8443
remote-random
resolv-retry infinite
nobind
cipher AES-256-CBC
auth SHA512
compress
verb 3
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
reneg-sec 0
remote-cert-tls server
auth-user-pass /config/openvpn-credentials.txt
pull
fast-io
<ca>
torr | OpenVPN provider not set. Using configuration at /config/openvpn/config.ovpn
torr | [cont-init.d] 02-setup-openvpn: exited 0.
torr | [cont-init.d] 03-setup-iptables: executing...
torr | iptables v1.8.4 (legacy): invalid port/service `443
torr | 5995
torr | 8443' specified
torr | Try `iptables -h' or 'iptables --help' for more information.
torr | iptables v1.8.4 (legacy): invalid port/service `443
torr | 5995
torr | 8443' specified
torr | Try `iptables -h' or 'iptables --help' for more information.
Note that using the same ovpn file on my desktop station works well.
Indeed something is wrong with internet connectivity inside the container:
$ docker-compose exec torr ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Operation not permitted
so this is probably iptables related.
Hi @hadim I've merged This PR from @Mithror which might fix the problem you're having, let me know if that fixes it for you :)
Ty but I have since switched to https://github.com/tprasadtp/protonvpn-docker.
Seems to me that this probably never worked, because the *.ovpn files for protonvpn always seem to have had multiple remote entries defined (and remote-random)?
Hum, you're probably right @Mithror looks like I'll need to spend some time updating the scripts and file layout in the repo according to @haugene's repo
I don't know whether this is related to the provider or a more general bug. The error seems to be related to iptables:
and here is the associated error when running the service: