Indefinite openvpn session

  • Hi there, I have another question.

    I have a server that I connect to my server room. Connection works fine. Now, i want to keep it connected indefinitely, because it's my backup center, and i need to sync data to it several times during the day.

    I am wondering if there is some "push" command that I could specify..

    Best regards,

  • Rebel Alliance Developer Netgate

    It should stay connected indefinitely without anything special set.

    Is it pfSense on both sides? Or is the server something else? If it's pfSense on both ends, make sure you set it up as peer-to-peer SSL/TLS in the server, not Remote Access. (Or static key on both, I suppose)

  • No, I have PFSense server on one side. My server connects as OpenVPN user cert/user/pass. I gave it static IP via push ifconfig, then on firewall i have made rules that cover this communication.

    So, my server connects as a OpenVPN user.

Log in to reply