Skip to content
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

Bug: PIA wireguard port forwarding not working with wiki config #2646

Open
phillibl opened this issue Jan 6, 2025 · 1 comment
Open

Bug: PIA wireguard port forwarding not working with wiki config #2646

phillibl opened this issue Jan 6, 2025 · 1 comment

Comments

@phillibl
Copy link

phillibl commented Jan 6, 2025

Is this urgent?

None

Host OS

No response

CPU arch

None

VPN service provider

Private Internet Access

What are you using to run the container

docker-compose

What is the version of Gluetun

Running version latest built on 2024-12-27T20:18:46.989Z (commit 61b053f)

What's the problem 🤔

I'm following the wiki for setting up PIA Wireguard with port forwarding, but get the error

ERROR VPN settings: OpenVPN settings: user is empty

I'm obviously not using OpenVPN so that makes sense.

I tried a couple combos of config and it didn't work, such as setting the provider to custom. I can run it without port forwarding with a wg0.conf

Share your logs (at least 10 lines)

gluetun1  | 2025-01-06T23:25:19.114127792Z 2025-01-06T23:25:19Z INFO [routing] default route found: interface eth0, gateway 192.168.176.1, assigned IP 192.168.176.2 and family v4
gluetun1  | 2025-01-06T23:25:19.114240034Z 2025-01-06T23:25:19Z INFO [routing] local ethernet link found: eth0
gluetun1  | 2025-01-06T23:25:19.114355798Z 2025-01-06T23:25:19Z INFO [routing] local ipnet found: 192.168.176.0/20
gluetun1  | 2025-01-06T23:25:19.286044644Z 2025-01-06T23:25:19Z INFO [firewall] enabling...
gluetun1  | 2025-01-06T23:25:19.486603175Z 2025-01-06T23:25:19Z INFO [firewall] enabled successfully
gluetun1  | 2025-01-06T23:25:20.276747097Z 2025-01-06T23:25:20Z INFO [storage] merging by most recent 20776 hardcoded servers and 20776 servers read from /gluetun/servers.json
gluetun1  | 2025-01-06T23:25:20.382760214Z 2025-01-06T23:25:20Z ERROR VPN settings: OpenVPN settings: user is empty
gluetun1  | 2025-01-06T23:25:20.382782032Z 2025-01-06T23:25:20Z INFO Shutdown successful

Share your configuration

services:
  gluetun:
    container_name: gluetun
    image: qmcgaw/gluetun:latest
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    volumes:
      - %path to config%:/gluetun:rw
    environment:
      - VPN_SERVICE_PROVIDER=private internet access
      - VPN_PORT_FORWARDING=on
      - VPN_PORT_FORWARDING_USERNAME=%user
      - VPN_PORT_FORWARDING_PASSWORD=%pass
      - SERVER_NAMES=panama405
    ports:
      - 6881:6881
      - 6881:6881/udp
    restart: unless-stopped
Copy link
Contributor

github-actions bot commented Jan 6, 2025

@qdm12 is more or less the only maintainer of this project and works on it in his free time.
Please:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant