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

    OpenVPN client showing 100% packetloss following 2.5.0 upgrade

    Scheduled Pinned Locked Moved OpenVPN
    69 Posts 13 Posters 15.7k 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.
    • N
      NeVaR @hypnosis4u2nv
      last edited by

      @hypnosis4u2nv my part is mainly on the fallback which was default to AES-256-GCM instead AES-128-GCM and gateway monitor. Once I set fallback to AES-128-GCM and gateway monitor either disable or enable. If you want to monitor it, as @vjizzle pointed out that use public domain. I recently just enable monitor and monitor my two vpn connection. I also checked "Don't pull routes" and "Don't add/remove routes" to avoid conflict with the two torguard vpn connection that i'm using. Otherwise, i will have situation where user A will have same public ip address of user B but both user are assign to different VPN connection.

      H 1 Reply Last reply Reply Quote 0
      • V
        vjizzle @hypnosis4u2nv
        last edited by

        @hypnosis4u2nv
        Good to hear that you got it working :). Maybe I should have mentioned it but I always have the "Don't pull routes" option enabled (in version 2.4.5 and 2.5) because I use several VPN tunnels and rely on pbr to route the traffic where needed.

        H 1 Reply Last reply Reply Quote 0
        • H
          hypnosis4u2nv @vjizzle
          last edited by

          @vjizzle Weird that it didn't cause me issues on 2.4.5, worked just fine with it unchecked. Question, do you also enable "Don't add/remove routes" on your configuration?

          V 1 Reply Last reply Reply Quote 0
          • H
            hypnosis4u2nv @NeVaR
            last edited by

            @nevar I knew about the gateway monitor IP to get it not showing a loss, which is why I initially responded to this problem. Thankfully, it also helped me start looking into what could be the cause of my unrelated routing issue. I didn't enable "Don't add/remove routes" but sounds like I should if I'm using more than one vpn client. I was considering adding another one and creating a gateway group for a fail safe if one gateway goes down, the other will continue to provide internet access.

            1 Reply Last reply Reply Quote 0
            • V
              vjizzle @hypnosis4u2nv
              last edited by

              @hypnosis4u2nv
              Hi. I only have Don't pull routes enabled.

              1 Reply Last reply Reply Quote 0
              • B
                bjames88 @vjizzle
                last edited by

                @vjizzle I used that how-to as well. Worked out pretty good for me.

                1 Reply Last reply Reply Quote 1
                • S
                  sheepthief
                  last edited by

                  Ok, so my application is probably quite a bit different to what most of you are using OpenVPN client for - multiple pfsense clients doing peer to peer to a single pfsense server, carrying a guest network across many sites. But, perhaps my solution will also work for you....

                  system > routing > tunnel_gw > advanced > use non-local gateway

                  I already had non-negotiable AES-128-GCM for encryption.

                  This allows me to continue using gateway monitoring - I'm actually monitoring the far-end IP of the tunnel, ie the server tunnel address.

                  1 Reply Last reply Reply Quote 0
                  • S
                    shoulders
                    last edited by shoulders

                    My solution is easy, don't specify a 'Monitor IP'.

                    • Disable Gateway Monitoring = unticked
                    • Disable Gateway Monitoring Action = unticked
                    • monitor IP = empty

                    What happens is that if not monitor IP is set pfSense uses the 'Virtual IP' presented by the OpenVPN client to PING and this only becomes available after the OpenVPN client has successfully connected.

                    I suspect that PINGs to the outside world are happening before the client/route is initialised or that the PING is not being routed and this is why if you use a real IP the monitoring is not working and because of this failure, pFsense flags the Gateway as offline.

                    gateway-monitor.jpg

                    My pf version: 2.6.0-RELEASE (amd64)

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      rcoleman-netgate Netgate @shoulders
                      last edited by

                      @shoulders said in OpenVPN client showing 100% packetloss following 2.5.0 upgrade:

                      What happens is that if not monitor IP is set pfSense uses the 'Virtual IP' presented by the OpenVPN client to PING and this only becomes available after the OpenVPN client has successfully connected.

                      Hmm...
                      You could just set the monitoring IP to 8.8.8.8 and call it a day, too. pfSense won't use an IP for monitoring that isn't specified, but if it is you should submit that as a bug to https://redmine.pfsense.org/ because that is not the intended situation.

                      Ryan
                      Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                      Requesting firmware for your Netgate device? https://go.netgate.com
                      Switching: Mikrotik, Netgear, Extreme
                      Wireless: Aruba, Ubiquiti

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        shoulders @rcoleman-netgate
                        last edited by shoulders

                        @rcoleman-netgate no external 'Monitor IP' address works on the OpenVPN gateways. I can ping from a client PC on the network to external address with no issue once the connection is up.

                        (System --> Routing --> Gateways)
                        The monitor address is populated with the 'Gateway/Virtual Address' for this OpenVPN connection so it looks good to me. 😄

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