Page MenuHomeVyOS Platform

Minor bug in OpenConnect server with default route
Closed, ResolvedPublicBUG

Description

If no push-route has been configured in the configuration it should default to setting route=default in the ocserv.conf file.

Right now it will set a number of route entries in ocserv.conf:
route=d
route=e
route=f
route=a
route=u
route=l
route=t

This will not affect connections done with openconnect server, but Cisco AnyConnect will report a missconfigured server and refuse to connect.
By using:

set vpn openconnect network-settings push-route '0.0.0.0/0'

The ocserv.conf file will have a correct setting of route = default

Details

Difficulty level
Unknown (require assessment)
Version
vyos-1.4-rolling-202211282019
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)