443.
It covers starting the endpoint, downloading your .ovpn profile, and updating it to use the ngrok TCP address and port.
For background on CGNAT and how to tell if you’re behind it, see the CGNAT guide.
For a detailed community walkthrough, see Tunneling openvpn server out from behind cgnat on the OpenVPN forums.
What you’ll need
- An OpenVPN server running behind CGNAT.
- OpenVPN Connect installed.
- ngrok installed.
- Your ngrok authtoken.
Start a TCP endpoint on port 443
Open a TCP endpoint to port
443:TCP endpoints are only available on a free plan after adding a valid payment method to your account.
Download your OpenVPN profile
Open the TCP address shown in the ngrok agent output in your browser.
Download the
.ovpn profile you use with OpenVPN Connect.