-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VPN can not connect #17
Comments
Seems like your VPN config includes an IPv6 configuration. Your container, however probably does not have IPv6 connectivity and also this image isn't designed for IPv6.
|
Hey, client |
Hey there, I troubleshooted the issue together with @xonex2020. We solved the problem which affected our setups (both on raspberry pi 3) : After appending We might be able to provide a fix via pull request but please tell us first what do you think on these issues. Thank you and have a nice day. |
Please try to add this to your VPN config:
Edit: Didn't see your second message |
You can try out the image |
I always come back here to remember to delete the IPv6 addresses from the wireguard configuration file provided by the provider, in order to have this container working again, when credentials were cycled.
|
hello everyone i always get this message when trying to connect to the vpn.
vpn-provider: hide.me on a raspberry pi 3
It would be great if someone could tell me what the problem is.
docker run --privileged -d
-v /media/extern1/config/:/config
-v /media/extern1/downloads/:/downloads
-v /media/extern2/downloads/:/downloads2
-e "VPN_ENABLED=yes"
-e "VPN_TYPE=openvpn"
-e "LAN_NETWORK=192.168.178.0/24"
-p 8080:8080
--restart unless-stopped
trigus42/qbittorrentvpn
thank you in advance :)
2022-03-24 10:51:21 /sbin/ip route add 194.127.173.223/32 via 172.17.0.1
2022-03-24 10:51:21 /sbin/ip route del 0.0.0.0/0
2022-03-24 10:51:21 /sbin/ip route add 0.0.0.0/0 via 10.129.162.1
[cont-init.d] 02-vpn: exited 0.
2022-03-24 10:51:21 WARNING: OpenVPN was configured to add an IPv6 route. However, no IPv6 has been configured for tun0, therefore the route installation may fail or may not work as expected.
2022-03-24 10:51:21 add_route_ipv6(::/3 -> :: metric -1) dev tun0
2022-03-24 10:51:21 /sbin/ip -6 route add ::/3 dev tun0
RTNETLINK answers: Permission denied
2022-03-24 10:51:21 ERROR: Linux route -6 add command failed: external program exited with error status: 2
2022-03-24 10:51:21 add_route_ipv6(2000::/4 -> :: metric -1) dev tun0
2022-03-24 10:51:21 /sbin/ip -6 route add 2000::/4 dev tun0
[cont-init.d] 03-network: executing...
RTNETLINK answers: Permission denied
2022-03-24 10:51:21 ERROR: Linux route -6 add command failed: external program exited with error status: 2
2022-03-24 10:51:21 add_route_ipv6(3000::/4 -> :: metric -1) dev tun0
2022-03-24 10:51:21 /sbin/ip -6 route add 3000::/4 dev tun0
RTNETLINK answers: Permission denied
2022-03-24 10:51:21 ERROR: Linux route -6 add command failed: external program exited with error status: 2
2022-03-24 10:51:21 add_route_ipv6(fc00::/7 -> :: metric -1) dev tun0
2022-03-24 10:51:21 /sbin/ip -6 route add fc00::/7 dev tun0
RTNETLINK answers: Permission denied
2022-03-24 10:51:21 ERROR: Linux route -6 add command failed: external program exited with error status: 2
2022-03-24 10:51:21 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
2022-03-24 10:51:21 Initialization Sequence Completed
2022-03-24 10:51:21 [INFO] Docker network defined as 172.17.0.0/16
2022-03-24 10:51:21 [INFO] Adding 192.168.178.0/24 as route via docker eth0
2022-03-24 10:51:21 [WARNING] Error adding route for 192.168.178.0/24. The web interface won't be reachable for the affected network
[cont-init.d] 03-network: exited 0.
[cont-init.d] 04-qbittorrent-setup: executing...
2022-03-24 10:51:21 [WARNING] ENABLE_SSL is set to , SSL is not enabled. This could cause issues with logging if other apps use the same Cookie name (SID).
2022-03-24 10:51:21 [WARNING] If you manage the SSL config yourself, you can ignore this.
2022-03-24 10:51:21 [WARNING] UMASK not defined (via -e UMASK), defaulting to '002'
[cont-init.d] 04-qbittorrent-setup: exited 0.
[cont-init.d] 05-install: executing...
[cont-init.d] 05-install: exited 0.
[cont-init.d] done.
[services.d] starting services
2022-03-24 10:51:21 [INFO] Logging to /config/qBittorrent/data/logs/qbittorrent.log.
[services.d] done.
2022-03-24 10:51:21 [INFO] Trying to ping 1.1.1.1 and 8.8.8.8 over the docker interface for 500ms each...
Terminated
Terminated
2022-03-24 10:51:23 [INFO] Success: Could not connect. This means the firewall is most likely working properly.
2022-03-24 10:51:23 [INFO] qBittorrent started with PID 474
2022-03-24 10:51:23 [INFO] HEALTH_CHECK_HOST is not set. Using default host one.one.one.one
2022-03-24 10:51:23 [INFO] HEALTH_CHECK_INTERVAL is not set. Using default interval of 5s
2022-03-24 10:51:23 write UDP: Operation not permitted (code=1)
2022-03-24 10:51:23 write UDP: Operation not permitted (code=1)
2022-03-24 10:51:23 write UDP: Operation not permitted (code=1)
2022-03-24 10:51:23 write UDP: Operation not permitted (code=1)
2022-03-24 10:51:23 write UDP: Operation not permitted (code=1)
The text was updated successfully, but these errors were encountered: