OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: Deku on June 04, 2019, 11:56:40 pm

Title: OpenConnect Startup - deletion failed for interface
Post by: Deku on June 04, 2019, 11:56:40 pm
I'm getting this error on startup, which appears to prevent OpenConnect from starting.  I have to start it manually.

Quote
kernel: ocvpn0: link state changed to DOWN
kernel: ifa_maintain_loopback_route: deletion failed for interface ocvpn0: 3
kernel: OK
kernel: tun30000: changing name to 'ocvpn0'
kernel: tun30000: link state changed to UP
Title: Re: OpenConnect Startup - deletion failed for interface
Post by: mimugmail on June 05, 2019, 06:58:16 am
Can you open an issue on github plugins so I don't forget to look at it later?
Title: Re: OpenConnect Startup - deletion failed for interface
Post by: Deku on June 05, 2019, 02:31:26 pm
Done - https://github.com/opnsense/plugins/issues/1359
Yeah, would be great if you could ignore that error and continue on.

Also added a question about NAT, since I'm fumbling with that.  I'll rewrite it here in case you prefer to respond here.
Quote
I'm trying to understand how best to NAT.  [In this documentation](https://www.routerperformance.net/using-openconnect-with-newly-released-opnsense-18-1-1/), it states to use the OpenConnect "interface" (which doesn't show up as an Interface, but does show up under Firewall Rules).  However, in other places [1,](https://forum.opnsense.org/index.php?topic=12144.msg55621#msg55621) [2](https://github.com/opnsense/plugins/issues/1135), it is suggested creating an interface and locking it.  But then you end up with two things under Firewall rules.  I just need this thing to be persistent after reboot where it starts up automatically and NAT rules apply.