-
-
Notifications
You must be signed in to change notification settings - Fork 560
Bug: PureVPN port forwarding not working #1653
Copy link
Copy link
Open
Labels
Category: Firewall ⛓️Category: Motivated! 🙌Your pumpness makes me pumped! The issue or PR shows great motivation!Your pumpness makes me pumped! The issue or PR shows great motivation!
Description
Is this urgent?
No
Host OS
Ubuntu 20.04.2
CPU arch
x86_64
VPN service provider
PureVPN
What are you using to run the container
docker run
What is the version of Gluetun
Running version latest built on 2023-06-01T16:49:06.663Z (commit 943943e)
What's the problem 🤔
Port forwarding with PureVPN does not work on my home server:
- Port forwarding is enabled in PureVPN portal for port 4567
- FIREWALL_VPN_INPUT_PORTS is set accordingly in docker-compose
- When performing the test, container is listening but does not receive any incoming connections when visiting 206.123.130.9:4567
/ # ./port-checker -port 4567
#################################
######### Port Checker ##########
######## by Quentin McGaw #######
######## Give some ❤️ at #########
# github.com/qdm12/port-checker #
#################################
2023/06/03 12:23:48 INFO listening on 0.0.0.0:4567
I have succesfuly tested port forwarding using PureVPN official client on my mac and with gluetun with other VPN providers.
Thanks for looking into this!
Share your logs
========================================
========================================
=============== gluetun ================
========================================
=========== Made with ❤️ by ============
======= https://github.com/qdm12 =======
========================================
========================================
Running version latest built on 2023-06-01T16:49:06.663Z (commit 943943e)
🔧 Need help? https://github.com/qdm12/gluetun/discussions/new
🐛 Bug? https://github.com/qdm12/gluetun/issues/new
✨ New feature? https://github.com/qdm12/gluetun/issues/new
☕ Discussion? https://github.com/qdm12/gluetun/discussions/new
💻 Email? quentin.mcgaw@gmail.com
💰 Help me? https://www.paypal.me/qmcgaw https://github.com/sponsors/qdm12
2023-06-03T12:11:21Z INFO [routing] default route found: interface eth0, gateway 192.168.96.1, assigned IP 192.168.96.2 and family v4
2023-06-03T12:11:21Z INFO [routing] local ethernet link found: eth0
2023-06-03T12:11:21Z INFO [routing] local ipnet found: 192.168.96.0/20
2023-06-03T12:11:21Z INFO [firewall] enabling...
2023-06-03T12:11:21Z INFO [firewall] enabled successfully
2023-06-03T12:11:21Z INFO [storage] creating /gluetun/servers.json with 13056 hardcoded servers
2023-06-03T12:11:21Z INFO Alpine version: 3.18.0
2023-06-03T12:11:21Z INFO OpenVPN 2.5 version: 2.5.8
2023-06-03T12:11:21Z INFO OpenVPN 2.6 version: 2.6.4
2023-06-03T12:11:21Z INFO Unbound version: 1.17.1
2023-06-03T12:11:21Z INFO IPtables version: v1.8.9
2023-06-03T12:11:21Z INFO Settings summary:
├── VPN settings:
| ├── VPN provider settings:
| | ├── Name: purevpn
| | └── Server selection settings:
| | ├── VPN type: openvpn
| | ├── Countries: netherlands
| | └── OpenVPN server selection settings:
| | └── Protocol: UDP
| └── OpenVPN settings:
| ├── OpenVPN version: 2.5
| ├── User: [set]
| ├── Password: [set]
| ├── Network interface: tun0
| ├── Run OpenVPN as: root
| └── Verbosity level: 1
├── DNS settings:
| ├── DNS server address to use: 127.0.0.1
| ├── Keep existing nameserver(s): no
| └── DNS over TLS settings:
| ├── Enabled: yes
| ├── Update period: every 24h0m0s
| ├── Unbound settings:
| | ├── Authoritative servers:
| | | └── cloudflare
| | ├── Caching: yes
| | ├── IPv6: no
| | ├── Verbosity level: 1
| | ├── Verbosity details level: 0
| | ├── Validation log level: 0
| | ├── System user: root
| | └── Allowed networks:
| | ├── 0.0.0.0/0
| | └── ::/0
| └── DNS filtering settings:
| ├── Block malicious: yes
| ├── Block ads: no
| ├── Block surveillance: no
| └── Blocked IP networks:
| ├── 127.0.0.1/8
| ├── 10.0.0.0/8
| ├── 172.16.0.0/12
| ├── 192.168.0.0/16
| ├── 169.254.0.0/16
| ├── ::1/128
| ├── fc00::/7
| ├── fe80::/10
| ├── ::ffff:127.0.0.1/104
| ├── ::ffff:10.0.0.0/104
| ├── ::ffff:169.254.0.0/112
| ├── ::ffff:172.16.0.0/108
| └── ::ffff:192.168.0.0/112
├── Firewall settings:
| ├── Enabled: yes
| └── VPN input ports:
| └── 4567
├── Log settings:
| └── Log level: INFO
├── Health settings:
| ├── Server listening address: 127.0.0.1:9999
| ├── Target address: cloudflare.com:443
| ├── Duration to wait after success: 5s
| ├── Read header timeout: 100ms
| ├── Read timeout: 500ms
| └── VPN wait durations:
| ├── Initial duration: 6s
| └── Additional duration: 5s
├── Shadowsocks server settings:
| └── Enabled: no
├── HTTP proxy settings:
| └── Enabled: no
├── Control server settings:
| ├── Listening address: :8000
| └── Logging: yes
├── OS Alpine settings:
| ├── Process UID: 1000
| └── Process GID: 1000
├── Public IP settings:
| ├── Fetching: every 12h0m0s
| └── IP file path: /tmp/gluetun/ip
└── Version settings:
└── Enabled: yes
2023-06-03T12:11:21Z INFO [routing] default route found: interface eth0, gateway 192.168.96.1, assigned IP 192.168.96.2 and family v4
2023-06-03T12:11:21Z INFO [routing] adding route for 0.0.0.0/0
2023-06-03T12:11:21Z INFO [firewall] setting allowed subnets...
2023-06-03T12:11:21Z INFO [routing] default route found: interface eth0, gateway 192.168.96.1, assigned IP 192.168.96.2 and family v4
2023-06-03T12:11:21Z INFO TUN device is not available: open /dev/net/tun: no such file or directory; creating it...
2023-06-03T12:11:21Z INFO [dns over tls] using plaintext DNS at address 1.1.1.1
2023-06-03T12:11:21Z INFO [http server] http server listening on [::]:8000
2023-06-03T12:11:21Z INFO [healthcheck] listening on 127.0.0.1:9999
2023-06-03T12:11:21Z INFO [firewall] allowing VPN connection...
2023-06-03T12:11:21Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov 2 2022
2023-06-03T12:11:21Z INFO [openvpn] library versions: OpenSSL 3.1.1 30 May 2023, LZO 2.10
2023-06-03T12:11:21Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]5.254.48.85:53
2023-06-03T12:11:21Z INFO [openvpn] UDP link local: (not bound)
2023-06-03T12:11:21Z INFO [openvpn] UDP link remote: [AF_INET]5.254.48.85:53
2023-06-03T12:11:27Z INFO [healthcheck] program has been unhealthy for 6s: restarting VPN (see https://github.com/qdm12/gluetun/wiki/Healthcheck)
2023-06-03T12:11:27Z INFO [vpn] stopping
2023-06-03T12:11:27Z INFO [firewall] removing allowed port 4567...
2023-06-03T12:11:27Z INFO [vpn] starting
2023-06-03T12:11:27Z INFO [firewall] allowing VPN connection...
2023-06-03T12:11:27Z INFO [openvpn] OpenVPN 2.5.8 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov 2 2022
2023-06-03T12:11:27Z INFO [openvpn] library versions: OpenSSL 3.1.1 30 May 2023, LZO 2.10
2023-06-03T12:11:27Z INFO [openvpn] TCP/UDP: Preserving recently used remote address: [AF_INET]206.123.130.6:53
2023-06-03T12:11:27Z INFO [openvpn] UDP link local: (not bound)
2023-06-03T12:11:27Z INFO [openvpn] UDP link remote: [AF_INET]206.123.130.6:53
2023-06-03T12:11:27Z WARN [openvpn] 'link-mtu' is used inconsistently, local='link-mtu 1549', remote='link-mtu 1550'
2023-06-03T12:11:27Z WARN [openvpn] 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
2023-06-03T12:11:27Z INFO [openvpn] [Secure-Server] Peer Connection Initiated with [AF_INET]206.123.130.6:53
2023-06-03T12:11:28Z INFO [openvpn] TUN/TAP device tun0 opened
2023-06-03T12:11:28Z INFO [openvpn] /sbin/ip link set dev tun0 up mtu 1500
2023-06-03T12:11:28Z INFO [openvpn] /sbin/ip link set dev tun0 up
2023-06-03T12:11:28Z INFO [openvpn] /sbin/ip addr add dev tun0 10.70.7.36/27
2023-06-03T12:11:28Z INFO [openvpn] UID set to nonrootuser
2023-06-03T12:11:28Z INFO [openvpn] Initialization Sequence Completed
2023-06-03T12:11:28Z INFO [firewall] setting allowed input port 4567 through interface tun0...
2023-06-03T12:11:28Z INFO [dns over tls] downloading DNS over TLS cryptographic files
2023-06-03T12:11:29Z INFO [healthcheck] healthy!
2023-06-03T12:11:29Z INFO [dns over tls] downloading hostnames and IP block lists
2023-06-03T12:11:34Z INFO [dns over tls] init module 0: validator
2023-06-03T12:11:34Z INFO [dns over tls] init module 1: iterator
2023-06-03T12:11:34Z INFO [dns over tls] start of service (unbound 1.17.1).
2023-06-03T12:11:34Z INFO [dns over tls] generate keytag query _ta-4a5c-4f66. NULL IN
2023-06-03T12:11:34Z INFO [dns over tls] ready
2023-06-03T12:11:35Z INFO [ip getter] Public IP address is 206.123.130.9 (Netherlands, North Holland, Amsterdam)
2023-06-03T12:11:35Z INFO [vpn] You are running on the bleeding edge of latest!
Share your configuration
version: "3"
services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
cap_add:
- NET_ADMIN
environment:
- VPN_SERVICE_PROVIDER=purevpn
- OPENVPN_USER=XXX
- OPENVPN_PASSWORD=XXX
- SERVER_COUNTRIES=Netherlands
- FIREWALL_VPN_INPUT_PORTS=4567Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Category: Firewall ⛓️Category: Motivated! 🙌Your pumpness makes me pumped! The issue or PR shows great motivation!Your pumpness makes me pumped! The issue or PR shows great motivation!