Input validation prevents creating 1:1 NAT rules on OpenVPN
Maybe related to https://redmine.pfsense.org/issues/11751 but for 1:1 NAT rules with OpenVPN interface selected
When attempting to create a 1:1 NAT rule on a OpenVPN interface the following error is presented,
The following input errors were detected: The interface does not have an address from the specified address family.
This was not an issue for pfSense < 2.5. The existing 1:1 NAT rules (created pre-pfSense 2.5) for OpenVPN interfaces works so this seems to only be a issue with the frontend validation.
In issue 11751 it is stated that the fix should also fix the issue with OpenVPN but its does not.
Updated by Chriss E about 2 years ago
The problem seems to be that the array value of 'openvpn' does not reflect the actual value sent by firewall_nat_1to1.inc
$vpn_and_ppp_ifs = array("l2tp", "pppoe", "enc0", "openvpn");
The value sent when selecting an OpenVPN interface is sent as interface "opt1" and not "openvpn" or "enc0" for IPSec.