Unable to run two instances of OpenVPN
-
Hi,
I have configured two OpenVPN servers in pfsense, I am unable to start one of them even though the tunnel works are different.2025-06-27 16:51:12.545024-04:00 openvpn 69749 /sbin/ifconfig ovpns1 192.168.4.1/24 mtu 1500 up
2025-06-27 16:51:01.357857-04:00 openvpn 39514 FreeBSD ifconfig failed: external program exited with error status: 1
2025-06-27 16:51:01.350082-04:00 openvpn 39514 /sbin/ifconfig ovpns2 192.168.5.1/24 mtu 1500 upif I ssh in
[24.11-RELEASE][admin@mainbertharouter.gensoftcon.com]/root: /sbin/ifconfig ovpns2 192.168.5.1/24 mtu 1500 up
ifconfig: ioctl (SIOCAIFADDR): File existsIs there something else I am missing that would cause this error?
Thanks.
-
@chriscc
Do you have both instances configured to listen on the same interface & port?
If so, you need to change one or other to use a different interface or another port. -
Yes, both are configured to to listen to the wan gateway group, but different ports.