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

    2.3.1 / site-to-site: routing/pf issue after upgrade from 2.2.6

    Scheduled Pinned Locked Moved OpenVPN
    21 Posts 4 Posters 3.0k 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.
    • V
      viragomann
      last edited by

      @brevilo:

      • server-src: LAN / client-dst: LAN: fails (request on server, no request on client)

      Have you taken this capture at the client node or at server?

      1 Reply Last reply Reply Quote 0
      • B
        brevilo
        last edited by

        Both, as described above. The results are in parentheses.

        1 Reply Last reply Reply Quote 0
        • V
          viragomann
          last edited by

          And you're sure  that the client node is the default gateway at the hosts behind?

          1 Reply Last reply Reply Quote 0
          • B
            brevilo
            last edited by

            That's not the issue here. When I said "client-dst: LAN" in the tests above I meant the VPN client's LAN address/interface, so the client's LAN nodes behind that NIC aren't of interest here (but yes, they do have proper routes). Also, how should client LAN routes affect echo requests "getting lost" between VPN server and client, in the tunnel itself…?

            Again, the whole setup worked just fine until I upgraded to 2.3.1.

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

              To which interface OpenVPN servers are binded?
              Which NAT setting do you use (default, hybrid etc)?
              Do you use dynamic routing (OSPF for ex) or all links are static binded?

              Need full pfSense in a cloud? PM for details!

              1 Reply Last reply Reply Quote 0
              • B
                brevilo
                last edited by

                @pan_2:

                To which interface OpenVPN servers are binded?
                Which NAT setting do you use (default, hybrid etc)?
                Do you use dynamic routing (OSPF for ex) or all links are static binded?

                • WAN (of course?)

                • Hybrid, with source = remote LAN and NAT = local LAN/CARP interface (and client and server respectively)

                • Not sure what you mean. There's no special routing apart from the OpenVPN site-to-site settings.

                1 Reply Last reply Reply Quote 0
                • B
                  brevilo
                  last edited by

                  Update: ok, my third test pair is working again. That particular setup got screwed up when I disabled its iroute for testing purposes :-[ So I'm now back at [url=https://forum.pfsense.org/index.php?topic=113151.msg636321#msg636321]reply #9 where my test rig works with 2.3.1_5 but my production rig using CARP needs further debugging.

                  Stay tuned…

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

                    @brevilo:

                    • WAN (of course?)

                    • Hybrid, with source = remote LAN and NAT = local LAN/CARP interface (and client and server respectively)

                    • Not sure what you mean. There's no special routing apart from the OpenVPN site-to-site settings.

                    1. Not always. Sometimes I bind it localhost, sometimes to VIP.
                    3. Then it is ''static''.
                    2. >>with source = remote LAN and NAT = local LAN/CARP interface
                    Err? You NATing your openvpn network to local LAN? Or I did not understood something?

                    Maybe you draw network diagram? Will help a little to understand your topology.

                    NB: I have plenty S2S links, with outbound NAT (traffic redirection) and inbound (D/PNAT), everything works OK on 2.3+

                    Need full pfSense in a cloud? PM for details!

                    1 Reply Last reply Reply Quote 0
                    • B
                      brevilo
                      last edited by

                      Err? You NATing your openvpn network to local LAN?

                      No, why would I? I source NAT the respective remote LAN on each side, that is the client LAN on the server side and vice versa.

                      The topology is a straight-forward site-to-site with HA/failover: ClientLAN–-Client===Server---ServerLAN (with client and server using CARP, so two nodes each with virtual IPs on LAN and WAN).

                      Cheers

                      1 Reply Last reply Reply Quote 0
                      • B
                        brevilo
                        last edited by

                        Darn, I think I finally found the culprit: I had an old IPSec config on those boxes (preferred VPN solution but never got it work reliably) which was inactive but not disabled. It seems as if this messes up some internal routing (not reflected by the routing table). It also seems that this is a regression in 2.3.? since 2.2.6 still doesn't have this problem! IIRC, the enable/disable implementation of IPSec changed in 2.3 so that would explain it.

                        That was a mean one…

                        Cheers

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