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

22.05 Upgrade breaks Remote Access OpenVPN

Scheduled Pinned Locked Moved OpenVPN
19 Posts 9 Posters 2.6k 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.
  • J
    jonna99
    last edited by Jun 29, 2022, 4:02 PM

    Hi, I´ve added some info since last post..
    I have the same problem after upgrading to 22.05. My peer to peer connection (TLS) is not working. Cant reach serverside firewall or any other clients. Status is green and connected on both sides.
    Remote (openvpn) connection on the other hand works fine.
    I have the same firewall- and NAT settings as before, nothing changed, and its been working for the last few years.
    Could it be something with the firewall settings that have been altered when upgrading? Any ideas? Anybody else having same issues?
    Thanks
    Jonna

    N 1 Reply Last reply Jun 29, 2022, 5:15 PM Reply Quote 0
    • N
      Neverstopdreaming @jonna99
      last edited by Jun 29, 2022, 5:15 PM

      @jonna99 similar issue here testing 2.7 DEV snapshot
      I have two OpenVPN site2site client connections.
      One (ovpnc1) uses sharedkey and the other (ovpnc2) uses SSL/TLS.

      After the upgrade, the SSL/TLS connects but it doesn't apply the route of the "IPv4 Remote network"

      [2.7.0-DEVELOPMENT][root@xxxx]/root: netstat -nr |grep ovpn
      10.0.11.0&0xa000b01 10.0.11.1 UGS ovpnc2
      10.0.11.1 link#12 UH ovpnc2
      10.0.12.1 link#11 UH ovpnc1
      192.168.192.0/18 10.0.12.1 UGS ovpnc1

      N L 2 Replies Last reply Jun 30, 2022, 9:01 AM Reply Quote 0
      • N
        Neverstopdreaming @Neverstopdreaming
        last edited by Jun 30, 2022, 9:01 AM

        I solved removing the "IPv4 Remote network(s)" from the client.
        it gets the routes directly from the server.
        Even if this configuration was working properly with SharedKey, it seems that SSL doens't like it.
        Also removing the "IPv4 Tunnel Network" from the client seems safe.

        1 Reply Last reply Reply Quote 1
        • J
          jonna99
          last edited by Jun 30, 2022, 11:01 AM

          That manouver didn´t work for me. I rolled back to 22.01.
          CE 2.6 and 22.01+ both work fine. Peer to peer reestablished.

          B 1 Reply Last reply Jul 3, 2022, 12:13 PM Reply Quote 0
          • L
            Luca De Andreis @Neverstopdreaming
            last edited by Jun 30, 2022, 12:41 PM

            @neverstopdreaming I solved with several site to site SSL / TLS configurations. The routing data on the client, as well as the tunnel vpn segment must be NOT specified. The data must be taken from the server ... this is how it works (after configuring client exceptions for each single vpn on the server). Works fine on 22.01 and 22.05.

            N 1 Reply Last reply Jun 30, 2022, 12:48 PM Reply Quote 0
            • N
              Neverstopdreaming @Luca De Andreis
              last edited by Jun 30, 2022, 12:48 PM

              @luca-de-andreis thanks. the "Client Specific Overrides" is the other important config that was missing

              1 Reply Last reply Reply Quote 0
              • N
                nomadmd
                last edited by Jul 1, 2022, 1:49 AM

                It looks like this bug reared its ugly head...

                When I start OpenVPN client on pfsense connecting to my google cloud instance I get this:

                netstat -nrf inet
                Routing tables
                
                Internet:
                Destination        Gateway            Flags     Netif Expire
                10.8.0.0/24        10.8.0.1           UGS      ovpnc5
                10.8.0.1           10.8.0.2           UGHS        lo0
                10.8.0.2           link#16            UHS         lo0
                
                

                instead of this:

                netstat -nrf inet
                Routing tables
                
                Internet:
                Destination        Gateway            Flags     Netif Expire
                10.8.0.0/24        10.8.0.1           UGS      ovpnc5
                10.8.0.1           10.8.0.2           UGHS     ovpnc5
                10.8.0.2           link#16            UHS         lo0
                
                

                Quick and dirty fix:

                route change 10.8.0.1 10.8.0.2 -ifp ovpnc5
                

                because every change to firewall will break this rule added this command as a cron job to run every minute.

                But ultimately Netgate has to issue a fix and their QA department as well...

                1 Reply Last reply Reply Quote 0
                • B
                  busk @jonna99
                  last edited by Jul 3, 2022, 12:13 PM

                  @jonna99
                  I also have the problem after update to 22.05 - the system log gives the message:
                  "Options error: Unrecognized option or missing or extra parameter(s) in /var/etc/openvpn/client2/config.ovpn:42: keysize (2.6_git) "

                  After fiddling with setup parameters around OpenVPN, without success, I want to roll back to 22.01.

                  My problem now is that I am not sure how I can roll back.

                  I made a backup before the upgrade, including extra data. But how can I reestablish the system software?
                  Could it be as simple as selecting "Restore Configuration" after specifying the restore area "all"?

                  J 1 Reply Last reply Jul 4, 2022, 8:41 AM Reply Quote 0
                  • J
                    jonna99 @busk
                    last edited by Jul 4, 2022, 8:41 AM

                    @busk
                    Hi, you have to reinstall 2.6 CE and then upgrade to 22.01. After that just restore with your old config file and all your settings will be back.

                    B 1 Reply Last reply Jul 4, 2022, 2:12 PM Reply Quote 0
                    • B
                      busk @jonna99
                      last edited by Jul 4, 2022, 2:12 PM

                      @jonna99
                      Thank you for the info.

                      I realize now that a complete reinstall will be necessary to get the advantage of ZFS

                      I forgot to mention that I am running on a Netgate SG 5100, so it will probably be easier to get a new ticket for installing pfSense+ hopefully for version 22.01 or else an earlier version as long as it accept formatting ZFS. And then apply the old config.

                      1 Reply Last reply Reply Quote 0
                      • J jonna99 referenced this topic on Jul 5, 2022, 6:41 AM
                      • B
                        buzz2912
                        last edited by buzz2912 Jul 5, 2022, 4:01 PM Jul 5, 2022, 4:00 PM

                        I do not know, if it's the same problem,
                        but my wireguard Site-to-Site connections do not work anymore on 22.05 and 2.7.0
                        On 2.6.0 and 22.01 everything is and has been perfect.
                        The Gateways stay diabled. Handshake is green.

                        Posted a bug report which was closed 😔

                        Report

                        I do not know what to do?

                        Thanks Sebastian

                        1 Reply Last reply Reply Quote 0
                        • J
                          jonna99
                          last edited by Jul 8, 2022, 1:49 PM

                          Hallo again.
                          Tried once more to upgrade from 22.01 to 22.05 again but cant get rid of the problem. P2P doesn´t work. Connected on both sides but no traffic passes through.
                          I now want to reinstall 22.01 but that choice is gone. Only 22.05 branch available now. Is there a way to get the 22.01 upgrade using the command prompt instead? Otherwise I´ll stay with 2.6 for now.
                          Also. .I also tried 2.7 with the same poor result.

                          B 1 Reply Last reply Jul 8, 2022, 4:01 PM Reply Quote 0
                          • B
                            busk @jonna99
                            last edited by Jul 8, 2022, 4:01 PM

                            @jonna99
                            if you are on Netgear hardware you can get pfSense plus in newer versions, including 22.01 by their support page, but you need to give the equipment ID.

                            I tried it a couple of days ago, and within few minutes I got a mail from them with links to an install file to burn to a USB-memory, and a description of the process.
                            It is probably locked to the ID-number on the hardware.
                            I have not yet tried to install it as I wont risk that my only firewall stop functioning, and so I will be cut off the Internet and my own network will be useless too.
                            I need some more planning before I try.

                            1 Reply Last reply Reply Quote 0
                            • A
                              arkin87
                              last edited by Jul 11, 2022, 11:15 PM

                              I’m no longer receiving the route from the server, log output above. I can mainly add the route manually on the client side and get it to work. Also - Radius logins is broken in this release.

                              Jul 11 19:53:39 openvpn 55807 OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options

                              Jul 11 19:53:39 openvpn 55807 OpenVPN ROUTE: failed to parse/resolve route for host/network: 192.168.20.0

                              1 Reply Last reply Reply Quote 0
                              15 out of 19
                              • First post
                                15/19
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                This community forum collects and processes your personal information.
                                consent.not_received