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

PIA OpenVPN Settings #288

Open
CheekyPanda2 opened this issue Nov 25, 2024 · 2 comments
Open

PIA OpenVPN Settings #288

CheekyPanda2 opened this issue Nov 25, 2024 · 2 comments

Comments

@CheekyPanda2
Copy link

Can anyone share with me their settings to get PIA OpenVPN working? I for the life of me can't get port forwarding to work. Constantly getting firewalled.

@bradarussell
Copy link

You'll have to provide more info like your host OS, etc to get more help. I'm on Proxmox in an LXC and I have the LXC firewall disabled (I have upstream firewall and this container is the only thing running in this LXC). I don't know if it would work the same/better/worse with firewall enabled. Here's my config, but some of the variables are set for my situation and you may need/want to change them:

docker run -d \
    --cap-add=NET_ADMIN \
    -p 8090:8090 \
    -p 8118:8118 \
    -p 9118:9118 \
    -p 58946:58946 \
    -p 58946:58946/udp \
    --name=qbitopenvpn \
    -v /usr/arch-qbittorrentvpn/data/:/data \
    -v /usr/arch-qbittorrentvpn/config/:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e VPN_ENABLED=yes \
    -e VPN_USER=pxxxxxxx \
    -e VPN_PASS=password \
    -e VPN_PROV=pia \
    -e VPN_CLIENT=openvpn \
    -e ENABLE_STARTUP_SCRIPTS=no \
    -e ENABLE_PRIVOXY=no \
    -e STRICT_PORT_FORWARD=yes \
    -e USERSPACE_WIREGUARD=no \
    -e ENABLE_SOCKS=yes \
    -e SOCKS_USER=admin \
    -e SOCKS_PASS=socks \
    -e LAN_NETWORK=192.168.137.0/24 \
    -e NAME_SERVERS=1.1.1.1,84.200.69.80,37.235.1.174,37.235.1.177,84.200.70.40,1.0.0.1 \
    -e DEBUG=false \
    -e WEBUI_PORT=8090 \
    -e UMASK=002 \
    -e PUID=0 \
    -e PGID=2222 \
    binhex/arch-qbittorrentvpn

@CheekyPanda2
Copy link
Author

I ended up switching to Wireguard and it seems to be working fine now. Unraid with docker.

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

2 participants