port forwarding under linux -- the ssl API mentioned in the old post seems... gone.

I can easily write whatever scripts I need and set stuff up myself -- im using an Arch based and gentoo based machines. so I have to do it manually.

im connected fine and everything, but https://www.privateinternetaccess.com/vpninfo/port_forward_assignment -- which is the only thing I saw mentioned on the forums here as a way to request port forwarding without the client -- seems to no longer be active.

I found another script for it for a totally other distro, but getting that to work is kind of dicey as its meant for an entirely different setup than I have currently and it would take debugging to get far enough to see if theirs would actually work anyway.

Id much rather just write my own or whatever from scratch.

Comments

  • I found the newer API script, it returns me a port number but that port never seems to actually be open after running it.
  • shoutout to d4rkcat -- your script seemed to allow the port forwarding to work, either through your own script OR the pia provided one.

    for those of us not having it work, I believe part of the reason is running openvpn directly. I think the script d4rkcat wrote works because it drops to a daemon in the background or something. just a guess though.
  • Port forwarding should work just fine under OpenVPN. All it does is set an iptables rule on the server.

    One important thing to keep in mind when testing port forwarding is that to protect yourself from the portfail attack, you can't connect to the forwarded port from the same IP you connect to the VPN with. So if you test with your own computer or a non-VPN computer on your LAN, the forwarded port will not work because of that. You need to VPN to another region from another computer to properly be able to test it (or use your mobile phone on mobile data or something, as long as the IP is not the same).
Sign In or Register to comment.