Feature #13855
openAllow specifying a custom port
0%
Description
The OpenVPN client export package already contains a function to set the host name resolution to "other", which, as the documentation states, "[...] is useful when the firewall is behind one or more layers of NAT, which may make the external address difficult or impossible for the package to discover."
In such situations, it might also be that not only the hostname, but the external port used for VPN access is not known to the pfSense box generating the VPN configs (e.g., if multiple VPN servers are behind a single NAT IP and it is not possible to use the default 1194 for all of them).
A workaround of course is to configure the VPN server of the pfSense box to use the same port that is accessible from the Internet. However, this feels hacky, especially since setting a custom hostname is already possible.
I suggest the plugin also should receive a function to specify a custom port.
No data to display