Open connect server giving errors after OpenWrt update

Hi all,

I have sucessufuly configured an open connect server but I'm keep getting a lot of errors in syslog.
In the past this config worked well, but now with updates looks like something is messed up.

By the way, the connection is working fine. In firewall, it does not belong to any zone.

syslog

Tue Nov 30 23:30:34 2021 daemon.info ocserv[8620]: sec-mod: sec-mod initialized (socket: /var/lib/ocserv/ocserv-socket.cf0a38c6.0)
Tue Nov 30 23:33:36 2021 user.err : error connecting to sec-mod socket 'ocserv-socket.cf2ec2e1': No such file or directory
Tue Nov 30 23:33:36 2021 daemon.info ocserv[9962]: sec-mod: reading supplemental config from files
Tue Nov 30 23:33:36 2021 daemon.info ocserv[9962]: sec-mod: sec-mod initialized (socket: /var/lib/ocserv/ocserv-socket.cf2ec2e1.0)

firewall

config defaults
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'REJECT'
	option synflood_protect '1'

config zone
	option name 'lan'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'ACCEPT'
	list network 'lan'
	list network 'wg0'

config zone
	option name 'wan'
	option input 'REJECT'
	option output 'ACCEPT'
	option forward 'REJECT'
	option masq '1'
	option mtu_fix '1'
	option network 'wan wan6'

config forwarding
	option src 'lan'
	option dest 'wan'

network

config interface 'VPN'
	option proto 'none'
	option device 'vpns0'

OpenConnect works fine for me following the OpenWrt wiki.
It successfully survived the upgrade from 19.07 to 21.02.
Also be aware that the server interface name is dynamic.

1 Like

I think it's time to start over. Thanks anyway

1 Like