OpenVPN and Docker on NAT VPS
Dear all, I am new to this NAT VPS thingy. (I am quite experience with ordinary VPS, no need to worry about limited ports, duh)
Recently, i bought myself a cheap NAT VPS from Wishosting. My initial intention is to:
1. run several docker images
2. install openvpn servers (to access blocked websites, you know...)
Debian 9 (self-upgraded from Debian 8), kernel: 2.6
I encounter the following issues:
1. i installed openvpn through https://github.com/pl48415/openvpn-install-advanced. All is well, installation was smooth, created a client. But upon connecting from smartphone, it always fail. I know there's something to do with iptables, but I have no idea on how to configure it... I also cant see tun port on ifconfig.
2. In regards to docker images, i know i have limited ports, the easiest way is to use tunneling service like ngrok, but I want to host it to my own domain, like vps.mydomain.net. I have setup A record pointed to the public IP address, installed apache, but I am not sure on how to forward to the domain.
Thank you so much! Stay safe!