Project

General

Profile

Bug #13602

Updated by Marcos M over 1 year ago

If OpenVPN crashes with DCO enabled, it doesn't remove the interface which prevents it from starting again. The interface must be manually destroyed first with e.g. @ifconfig ovpnc1 destroy@. 

 <pre> 
 Oct 27 16:58:13  	 openvpn  	 28323  	 Failed to create interface ovpns1 (SIOCSIFNAME): File exists (errno=17) 
 Oct 27 16:58:13  	 openvpn  	 28323  	 DCO device ovpns1 already exists, won't be destroyed at shutdown 
 Oct 27 16:58:13  	 openvpn  	 28323  	 /sbin/ifconfig ovpns1 172.25.1.1/24 mtu 1500 up 
 Oct 27 16:58:13  	 openvpn  	 28323  	 FreeBSD ifconfig failed: external program exited with error status: 1 
 Oct 27 16:58:13  	 openvpn  	 28323  	 Exiting due to fatal error  
 </pre>

Back