OpenVPN - Can't Assign Requested Address (errno=49)

Started by ThisGuy_420, Today at 04:27:34 AM

Previous topic - Next topic
Hello, I went through the Setup SSL VPN Road Warrior, but when I try to connect from my iPhone I never connect and the OPNsense OpenVPN log file shows: TCP/UDP: Socket bind failed on local address [AF_INET]10.10.8.1:1194: Can't assign requested address (errno=49) followed by Exiting due to fatal error.  I attached logs from OpenVPN on my iPhone and OPNsense OpenVPN logs.  I did confirm with nmap that the port is open|filtered, but am not sure where to go from here.

iPhone 12 running iOS 18.6.2 using OpenVPN v3.7.2
OPNsense v. 25.7.3_7

Seems the stated bind address is part of the tunnel network in your OpenVPN server settings.

You can just leave bind address field blank. So the OpenVPN instance will listen on any interface address.
If desired, you can specify any interface address of OPNsense including localhost. But for the latter you have to forward the traffic of course.

Today at 03:22:04 PM #2 Last Edit: Today at 03:24:00 PM by ThisGuy_420
I'm pretty sure tried that originally and then inserted the bind address.  I'll try again tonight and let you know how that goes.   Seems odd that the guide would have me do that.

Thank you for your help!