How to forward ports with OpenVPN

November 1, 2015 560 views
Networking VPN Ubuntu


I followed the tutorial on site and I'm wondering how I can forward ports so that I am connectable. For example, I want port 53712 to be connectable from my desktop PC. I have already tried this and it doesn't work (maybe it has to do with OpenVPN running as a non-privileged user?)

Thank you.

1 Answer

I don't know if it's actually possible to do this without running OpenVPN as root. So, I flushed all ufw's rules, removed OpenVPN, ran this script and followed "janjust" 's suggestions here. That seemed to do it!

Have another answer? Share your knowledge.