OpenVPN Weirdness



  • I'm trying to get our pfsense box to do openvpn but get blocked at step 1…  Under VPN->OpenVPN when I complete and submit the form to create a new server instance the browser just hangs.  After a few minutes I get sick of waiting, hit stop, then look at VPN->OpenVPN and my new server is listed there, but there's no entry for it under Status->Interfaces and if I go to Firewall->Rules it's still just my same old Lan/Wan/Opt1 from before.

    Stranger still, if I remove the server instance (click the little x icon and say ok) then come back to re-create the server, the form submits ok, but I still get no interface.  I've resorted to restoring old configs after a while of messing with it.  I even reformatted thinking I'd really messed something up... but after a few days playing with it I'm convinced its not me.

    I rebuilt the box this afternoon, so here is an example of the log from what I'm talking about:

    Oct 3 17:26:06 	openvpn[5662]: Exiting
    Oct 3 17:26:06 	openvpn[5662]: TCP/UDP: Socket bind failed on local address [undef]:1194: Address already in use
    Oct 3 17:26:06 	openvpn[5662]: WARNING: file '/var/etc/openvpn_server0.key' is group or others accessible
    Oct 3 17:26:06 	openvpn[5662]: OpenVPN 2.0.6 i386-portbld-freebsd6.1 [SSL] [LZO] built on Apr 6 2006
    Oct 3 17:15:37 	openvpn[4396]: Exiting
    Oct 3 17:15:37 	openvpn[4396]: TCP/UDP: Socket bind failed on local address [undef]:1194: Address already in use
    Oct 3 17:15:37 	openvpn[4396]: WARNING: file '/var/etc/openvpn_server0.key' is group or others accessible
    Oct 3 17:15:37 	openvpn[4396]: OpenVPN 2.0.6 i386-portbld-freebsd6.1 [SSL] [LZO] built on Apr 6 2006
    Oct 3 17:10:58 	openvpn[3913]: /etc/rc.filter_configure tun0 1500 1543 10.2.4.1 10.2.4.2 init
    Oct 3 17:10:58 	openvpn[3913]: /sbin/ifconfig tun0 10.2.4.1 10.2.4.2 mtu 1500 netmask 255.255.255.255 up
    Oct 3 17:10:58 	openvpn[3913]: TUN/TAP device /dev/tun0 opened
    Oct 3 17:10:58 	openvpn[3913]: gw 10.9.57.1
    Oct 3 17:10:58 	openvpn[3913]: WARNING: file '/var/etc/openvpn_server0.key' is group or others accessible
    Oct 3 17:10:58 	openvpn[3913]: OpenVPN 2.0.6 i386-portbld-freebsd6.1 [SSL] [LZO] built on Apr 6 2006
    

    I hit submit at 17:10:58 and just left it hanging for a few mins.  At 17:15 I tried navigating through to the form again and hit submit just to see what it would do and it went right through.  I deleted the server instance and tried re-creating it at 17:26 when it also went right through.  This has pretty much been the sequence of events the several times I've tried this.

    Does openvpn not like that the server.key is g or o readable?  I can't imagine that's the entire problem.



  • Looks to me like OpenVPN is already running.  From the command prompt, do a killall openvpn, then go back to the browser and try filling in the form again.



  • @Numbski:

    Looks to me like OpenVPN is already running.  From the command prompt, do a killall openvpn, then go back to the browser and try filling in the form again.

    Or perhaps he is already using a client or server and tries to use one more ?



  • I am able to recreate the same problem… Browser hangs on pkg_edit.php.  Anybody know how to fix?  I am using ie6... is it a problem with the browser?



  • Update to the latest 1.0-RCe… Upload a, b,c,d,e.

    We changed how OpenVPN is launched now.


Log in to reply