VPN connected but health checks/pings failing and ports are closed #2868
-
Hello! My container mysteriously startred failing health checks and torrents won't download or upload anymore. (I'm using HotspotShield, which is included with my Dashlane subscription.) The config worked fine until some time within the last week or two. I didn't change anything, but saw via Portainer that my health checks are failing. When I investigated, I couldn't ping anything from within the container (the host can ping addresses fine). Oddly, I can Docker version 27.1.1, build 6312585. Here's my current docker-compose: ---
version: '3'
services:
transmission:
image: haugene/transmission-openvpn:latest
cap_add:
- NET_ADMIN
container_name: transmission
volumes:
- /mnt/nas/transmission/config:/config
- /mnt/nas/transmission/downloads/complete:/data/completed
- /mnt/nas/transmission/downloads/incomplete:/data/incomplete
- /mnt/nas/transmission/watch:/data/watch
- /mnt/nas/storage/media:/media:z
- ./openvpn:/etc/openvpn/custom
ports:
- 9091:9091
- 8041:8041 # HotspotShield config uses 8041
environment:
OPENVPN_CONFIG: hotspotshield_se_v4
OPENVPN_PASSWORD: "${OPENVPN_PASSWORD}"
OPENVPN_PROVIDER: custom
OPENVPN_USERNAME: "${OPENVPN_USERNAME}"
TRANSMISSION_PEER_PORT_RANDOM_HIGH: 65535
TRANSMISSION_PEER_PORT_RANDOM_LOW: 49152
TRANSMISSION_PEER_PORT_RANDOM_ON_START: true
restart: unless-stopped
networks:
- caddy
networks:
caddy:
external: true And here's the OpenVPN config from HotspotShield: client
dev tun
proto udp
remote braincontrols.us 8041
verify-x509-name braincontrols.us name
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
reneg-sec 0
remote-cert-tls server
comp-noadapt
auth-user-pass /config/openvpn-credentials.txt
auth sha256
cipher AES-128-CBC
<cert>
-----BEGIN CERTIFICATE-----
blah
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
blah
-----END PRIVATE KEY-----
</key>
<ca>
-----BEGIN CERTIFICATE-----
blah
-----END CERTIFICATE-----
</ca>
inactive 3600
ping 10
ping-exit 60
resolv-retry 15
verb 3
remap-usr1 SIGTERM
; status success
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Nevermind! I tried a different VPN and pings and torrents immediately worked. HotspotShield apparently is blocking ICMP traffic and torrent traffic. This is funny because they have torrent/VPN tutorials on their blog, and their help docs suggest if you can't access a service, you've misconfigured something. AirVPN is great so far. 🚀 |
Beta Was this translation helpful? Give feedback.
Nevermind! I tried a different VPN and pings and torrents immediately worked.
HotspotShield apparently is blocking ICMP traffic and torrent traffic.
This is funny because they have torrent/VPN tutorials on their blog, and their help docs suggest if you can't access a service, you've misconfigured something.
AirVPN is great so far. 🚀