I removed the ocserv.socket from the ocserv.service file completely and disabled ocserv.socket and it now works. Looks like a bug in ocserv from Ubuntu repository. I?ll try to install on Debian 9 later to confirm that I do not need this workaround. The ocserv version from Debian repository seem to be different. Thanks & best regards > On 4 Dec 2017, at 3:46 PM, Nikos Mavrogiannopoulos <n.mavrogiannopoulos at gmail.com> wrote: > > On Sat, Dec 2, 2017 at 2:38 AM, Choon Hoe Chua <choonhoe at gmail.com> wrote: >> Here is the output from syslog >> >> Thanks & best regards >> >> - chua >> >> Dec 1 03:16:28 ubuntu ocserv[3528]: main[chchua]: >> [::ffff:113.210.110.153]:16524 main.c:877: connect UDP socket from >> [::ffff:113.210.110.153]:56182: Network is unreachable >> Dec 1 03:16:30 ubuntu ocserv[3528]: main[chchua]: >> [::ffff:113.210.110.153]:16524 main.c:868: bind UDP to [::]:443: Invalid >> argument > > The systemd unit/socket file doesn't need to bind to UDP port. Have > you tried removing the UDP part from it and keep systemd binding to > the TCP port only? > > regards, > Nikos