xhdix / openconnect-installer

Automatically set up an Openconnect/Anyconnect VPN server(ocserv) with Let's Encrypt with just one command in CentOS 8.
The Unlicense
127 stars 34 forks source link

error: no ipv4-network or ipv6-network options set #3

Closed rxmoein closed 4 years ago

rxmoein commented 4 years ago

I get this log after installation

Oct 27 11:48:23 server.domain.com systemd[1]: Starting OpenConnect SSL VPN server...
Oct 27 11:48:23 server.domain.com systemd[1]: Started OpenConnect SSL VPN server.
Oct 27 11:48:23 server.domain.com ocserv[23095]: note: skipping 'pid-file' config option
Oct 27 11:48:23 server.domain.com ocserv[23095]: note: vhost:default: setting 'pam' as primary authentication method
Oct 27 11:48:23 server.domain.com ocserv[23095]: error: no ipv4-network or ipv6-network options set.
Oct 27 11:48:23 server.domain.com systemd[1]: ocserv.service: Main process exited, code=exited, status=1/FAILURE
Oct 27 11:48:23 server.domain.com systemd[1]: ocserv.service: Failed with result 'exit-code'.
rxmoein commented 4 years ago

This was because I was trying to cancel installation by Ctrl+C. This does not stop the installation and just cancels one of the commands. I used some of the commands in the script manually and it's fixed now.

jemshit commented 1 year ago

What commands exactly? Is there any way to uninstall and reinstall clean?