Using OpenWRT router - I need to show the forwarded port available when connected as OpenVPN client
I have following router
root@GL-MT1300:~# cat /etc/os-release
I have it connected via PIA VPN as client without issues and I can see the IP from PIA working.
root@GL-MT1300:~# curl ifconfig.io
I need to show the forwarded port available when connected as OpenVPN client
Can someone help please what command I can use in order to view the available port?
PIA VPN - https://www.privateinternetaccess.com/pages/client-support/#eighth
OpenWRT Router: https://www.gl-inet.com/products/gl-mt1300/
I meant to show which port PIA offered.
Usually, they offer forwarded ports to specific servers when you connect to.
I can do that using their software.
I am trying to find this port using SSH on the openwrt router.
You want, in openwrt, display/discover what ports have been opened by/in PIA?
PIA doesn't automatically open a forwarded port. If you want to do it outside the app you have to get an auth token, then submit a request through their API. This needs repeating every 15 minutes to keep the port open.
They have scripts available on
pia-foss/manual-connections: Scripts for manual connections to Private Internet Access (github.com) but I'm not sure if they'll need adapting for OpenWRT.
Yes, I can do with this docker container, but not familiar with openwrt how to do so or if it's showing the logs while the VPN is connected.
VPN client in a thin Docker container for multiple VPN providers, written in Go, and using OpenVPN, DNS over TLS, with a few proxy servers built-in.