OpenVPN fd=8,Code=13 error

Started by Darkvader, August 13, 2026, 01:02:46 PM

Previous topic - Next topic
August 13, 2026, 01:02:46 PM Last Edit: August 13, 2026, 01:06:38 PM by Darkvader
Hello, I would like some help figuring out why I have this particular error on a previously fully working openvpn config.

2026-08-13T10:50:47 Error openvpn_server1 Connection Attempt write UDPv4: Permission denied (fd=8,code=13)
this line will fill the openvpn server logs and no clients can connect. I've spent the last hour re-creating the install and manually transferring the openvpn config over, only for it to do the same thing on the new install.
all instances are affected too.

over the last week, this config worked flawlessly but after an update it seems to be completely borked. I also can't seem to get it working by changing options around, it just seems to give the same error constantly now.

please help.

What was the OPNsense version where it worked, and in which version do you have the above issue?
Hardware:
DEC740

26.1.3 was where it was set up and worked fine. I had the system get a bit stuck between versions for a little while (my 5g connection never seems to finish an update) so latest packages were installed even with the .3 kernel and base, I then did a manual upgrade to 26.1.11 where it stopped working, then in re-imaging went to 26.7 which also doesn't work.

I can send you my config if you'd like.

Hmm thats a rather large timeframe.

A config won't help as it could be environment or hardware specific.

Maybe somebody else has the same issue and reports it here as well.
Hardware:
DEC740

I've just spent a little more time getting things set up and it honestly looks like openvpn is just completely borked in my setup for some reason, I'm really scratching my head on this.

For a few more details:
Hardware wise opnsense is installed in a proxmox 9 VM that has 2x X86-64-V2-AES cores on a q35 platform, 3GB ram and 6x NICS(5 Intel Passed through to the vm ala SR-IOV and 1x Paravirtualised (for a management interface with proxmox))

The physical chip on the board is an Intel(R) Celeron(R) CPU 3865U @ 1.80GHz quite old but i shouldn't expect any massive issues in how sudden it stopped working.

So far i've reinstalled from scratch twice, updated the hypervisor and made sure the system is actually communicating properly with the outside world.

also, disabling the firewall rule to OpenVPN so it doesn't receive connection attempts stops the messages (and will get caught in the firewall log) so the overall handshake seems to be working but the openvpn process just can't move past it.

It actually looks a little like the OpenVPN server process doesn't have any permissions allocated to it. I was thinking i could try and see if maybe adding perms or elevating the process would help but I'm not skilled with FreeBSD.

Any suggestions from this point?