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.
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
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.
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).