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

    Dropping connection to Terminal Services through OpenVPN.

    OpenVPN
    2
    7
    489
    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.
    • G
      Giovani_TI
      last edited by

      Hello, I'm starting to work with PFSense and I'm testing with OpenVPN.
      I installed version 2.7 and the Client Export package to generate the certificates.
      All very basic and simple.
      I can access the normal network, the problem is accessing the server with Terminal Services, the session keeps disconnecting and reconnecting constantly, every minute. The strange thing is that it doesn't happen to all users.
      Is there anything I can do to further verify the problem and resolve it?

      F 1 Reply Last reply Reply Quote 0
      • F
        flat4 @Giovani_TI
        last edited by

        @Giovani_TI Probably need to post your config.

        1 Reply Last reply Reply Quote 0
        • G
          Giovani_TI
          last edited by

          Hello @flat4.
          It's a Pentium Gold G5420 CPU 3.80GHz, 4GB, 120G SSD.
          In addition to firewall and Internet control, it will be DHCP and VPN, but we don't enable more functions, just VPN.
          Authentication is user location based.
          A total of 7 users via VPN and another 7 on the local network.

          F 1 Reply Last reply Reply Quote 0
          • F
            flat4 @Giovani_TI
            last edited by

            @Giovani_TI

            Are both the terminal servers and openvpn using the same LAN segment?
            if not look in the firewall logs I bet its getting blocked.

            1 Reply Last reply Reply Quote 0
            • G
              Giovani_TI
              last edited by

              @flat4

              Yes, 192.168.1.0/24.
              It is not being blocked, I connect to the VPN, then to the TS and after a few minutes the TS connection drops and then comes back, but this is not constant and in the test I am doing, it is not on all machines.

              F 1 Reply Last reply Reply Quote 0
              • F
                flat4 @Giovani_TI
                last edited by

                @Giovani_TI

                I've had this issue before and it was the vpn dropping and reconnecting, what does the logs say when you choose openvpn.

                1 Reply Last reply Reply Quote 0
                • G
                  Giovani_TI
                  last edited by

                  @flat4

                  You're right, it just happened to me, on pfsense tabs.
                  Open VPN logs

                  2023-08-08 17:27:23 Initialization Sequence Completed
                  2023-08-08 17:29:19 [Server_CA] Inactivity timeout (--ping-restart), restarting
                  2023-08-08 17:29:19 SIGUSR1[soft,ping-restart] received, process restarting
                  2023-08-08 17:29:24 TCP/UDP: Preserving recently used remote address: [AF_INET]
                  2023-08-08 17:29:24 UDPv4 link local: (not bound)

                  I lost the connection.
                  Server problem.

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