Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Users are being disconnected at a certain time

    Scheduled Pinned Locked Moved IPsec
    4 Posts 2 Posters 367 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      movIT
      last edited by

      Hi,

      We have one pfsense (2.7.2) host acting as vpn always on server. VPN profile is pushed out via Intune.

      Users periodically experience being disconnected at certain times, most often around 2:30PM after being connected ~7:30 hours.

      IPsec phase 1 and 2 tunnel have the following setting:

      Life time: 28800
      Rekey time: 27000
      Reauth time: 27900
      Rand time: 3600

      I've tried different settings, but nothing seems to fix the issue. Does anybody got an idea what to try?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @movIT
        last edited by

        @movIT

        Idea : look at the System, and other ( ! ) logs.
        If, for example, your WAN disconnects for some reason, every connection that uses WAN goes down also.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        M 1 Reply Last reply Reply Quote 0
        • M
          movIT @Gertjan
          last edited by

          @Gertjan The log only shows 5 minutes of data. WAN is not being disconnected as it only happens for some.

          How can I find the logs for certain times up to 24 hours back?

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @movIT
            last edited by Gertjan

            @movIT

            You are probably limited by the GUI.

            You could go here : Status > System Logs > Settings
            and change

            c5dad0b9-bcbc-4136-8867-484d78c846fc-image.png

            to something a bit bigger.

            Check also this :

            4280c79f-7433-4ea4-b1c1-6f317c100f08-image.png

            where you can set overall log file size.
            If you have many G bytes to spare, you can make these files a bit bigger.
            On very small devices : be carefull.

            But you can also apply the "IT" way : you don't care about GUI ... go native access right away. Go to the source.
            Use the console, or, like everybody else, use the SSH access, and look her /var/log/ as that is the place where logs are stored on nearly every "computer" on planet earth.
            You'll find the system.log file.

            Btw : typically, I have 20-30 lines a day in the System log file.
            So "only the last 5 minutes worth" is pretty strange : what is happening in there that your pfSense logs that much ? ?
            Massive logs == normally : an indication something not-ok is going on.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.