Errors with OpenVPN on 2.4.3



  • I have had this happen to me on two different systems once they upgraded to 2.4.3. As soon as I create an OpenVPN instance, I start seeing the following errors/alerts (I replaced our actual WAN IP with WANIP):

    There were error(s) loading the rules: /tmp/rules.debug:151: unknown protocol udp4 - The line in question reads [151]: pass in quick on $WAN reply-to ( cpsw0 WANIP ) inet proto udp4 from any to 47.180.148.72 tracker 1524005067 keep state label "USER_RULE: OpenVPN Direct Leader Showroom Client wizard"
    @ 2018-04-17 15:44:45
    There were error(s) loading the rules: /tmp/rules.debug:151: unknown protocol udp4 - The line in question reads [151]: pass in quick on $WAN reply-to ( cpsw0 WANIP ) inet proto udp4 from any to 47.180.148.72 tracker 1524005067 keep state label "USER_RULE: OpenVPN Direct Leader Showroom Client wizard"
    @ 2018-04-17 15:44:57

    I can get rid of them only when I completely remove any OpenVPN servers. The errors also seem to affect other parts of the system (possibly firewall rules and IPSec connections) but I am not entirely sure about that. Either way, this has happened to me on two different system one which was a Netgate appliance and one that was not. Any ideas?



  • That's a bug in the OpenVPN wizard. It is known and fixed in next release.

    Edit the OpenVPN firewall rule created by the wizard and set the protocol to UDP and save it. It should work then.