Pia port forwarding11/21/2023 ![]() ![]() I hope this gives people ideas on how to approach this. I did try looking into a VPS and it was more headache than what I wanted to deal with. I plan to write a script that will verify the port is correct in the config, and I'll just either automate an email or use google remote desktop to see what the port is.Įventually I do plan on getting a VPS hosted so I don't have to do as much work, but I needed something to get by. Port that the wireguard VPN will use on the client.The port that Nginx is listening on the Ubuntu VM.The refreshpiaport.sh script is run every 15 minutes to keep the port open. This way the VPNstart.sh scripts starts at every reboot, calling runsetup.sh and the rest of the VPN connection procedure. I took the script from this guide and tweaked it a bit to suit my needs (and to correct a syntax error) Note: PIA only supports port forwarding from specific regions. PIA is awesome because it supports port forwarding to facilitate things like torrents. After that I am on the network and have full access to everything. Code: reboot root /PIA/VPNstart.sh /15 root /PIA/refreshpiaport.sh. sudo systemctl start pia.service curl Port Forwarding. On the random port that is assigned, I can come into my network and use Nginx to proxy the UDP traffic to my Unraid VPN. The following script is run by the openvpn-route.sh script. No-IP DUC to update a hostname with the random IP assigned via the pia app. Cleanest,regularly updated proxy pool available exclusively to you.If I disable pia the test returns a positive. I experimented a bit the past couple days and got a solution that will put me on my network.īasically I setup wireguard on my Unraid server, and I proxy the pia port to that server. I wanted to test if my port forwarding was working after adding a firewall rule to my Unifi router for port 26137, so I downloaded the tool from and it showed a fail with pia running CA Ontario port26137. Kinda messed up, but it's nice to know that I'm the only one with this problem.Īlso for the portforward option the only country I found it to work in was Canada. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |