OpenVPN client error : "write UDPv4: Permission denied"
-
Hello,
I'm having issues trying to connect the OpenVPN client. The logs for OpenVPN suggest that there is some rule in place blocking the VPN client.
Jun 6 15:51:30 openvpn 60337 write UDPv4: Permission denied (fd=5,code=13) Jun 6 15:51:14 openvpn 60337 write UDPv4: Permission denied (fd=5,code=13) Jun 6 15:51:06 openvpn 60337 write UDPv4: Permission denied (fd=5,code=13) Jun 6 15:51:02 openvpn 60337 write UDPv4: Permission denied (fd=5,code=13) Jun 6 15:51:00 openvpn 60337 write UDPv4: Permission denied (fd=5,code=13) Jun 6 15:51:00 openvpn 60337 UDPv4 link remote: [AF_INET]143.244.39.7:1198 Jun 6 15:51:00 openvpn 60337 UDPv4 link local (bound): [AF_INET]10.153.30.8:0 Jun 6 15:51:00 openvpn 60337 TCP/UDP: Preserving recently used remote address: [AF_INET]143.244.39.7:1198 Jun 6 15:51:00 openvpn 60337 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Jun 6 15:50:50 openvpn 60337 SIGUSR1[soft,ping-restart] received, process restarting Jun 6 15:50:50 openvpn 60337 [UNDEF] Inactivity timeout (--ping-restart), restarting Jun 6 15:50:19 openvpn 60337 write UDPv4: Permission denied (fd=5,code=13) Jun 6 15:50:03 openvpn 60337 write UDPv4: Permission denied (fd=5,code=13)
On the other hand this is a 2.7.2 fresh install, with no additional packages such as snort or suricata installed (as in this thread). I also have experimented with the firewall rules without success.
Any ideas of what might be going on here?
-
Just noticed this myself perusing the logs after having some VPN connectivity issues. You get this figured out?
-
@zeca said in OpenVPN client error : "write UDPv4: Permission denied":
write UDPv4: Permission denied
Google "OpenVPN client write UDPv4: Permission denied"
This one is on top : openvpn client misbehaving (for me) but many others exist, as the issue is not really a pfSense thing, but more a 'connection broken' thing.
As this is a client, it will take the initiative to connect to the "OpenVPN server" so the 'write' == sending info, is plausible.
The connection was signaled as "up" to the OpenVPN process but, you might have guessed it : it wasn't.
Be aware : the connection means here : the entire thing, up until and included the OpenVPN server. If anywhere on the road something fails, you'll get "write errors" as the tunnel is now broken. -
@zeca
ive got same problem
i ask google for help and found this topic https://redmine.pfsense.org/issues/7240?tab=history
after snort uninstall my openvpn client could connect with no issues