Why does OpenVPN keep timing out?



  • I have OpenVPN setup on pfsense and I have a client that is hooked up with an ethernet, running linux mint 17, that connects to it. After about an hour or so (I leave things downloading/uploading then I go AFK) it times out. I have tried adding the reneg-sec 0 to my openvpn client conf but it still timedout today. I am using udp port 1194.

    Here is my openvpn client configuration

    dev tun
    persist-tun
    persist-key
    cipher AES-256-CBC
    auth SHA1
    tls-client
    client
    remote ExternalIPHERE 1194 udp
    lport 0
    verify-x509-name "pfrouter" name
    auth-user-pass
    auth-nocache
    reneg-sec 0
    ns-cert-type server
    comp-lzo adaptive
    

    ive commented out the certificate parts



  • So….anyone have any ideas?



  • a wilde guess: in your OVPN server, is the setting of "Client Settings >Dynamic IP" checked?



  • @bennyc:

    a wilde guess: in your OVPN server, is the setting of "Client Settings >Dynamic IP" checked?

    This setting "Allow connected clients to retain their connections if their IP address changes." No it is not checked. I wlll check it and see if that helps.



  • Sadly this did not work