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

Removal of LAGG

General pfSense Questions
3
41
1.7k
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.
  • S
    stevencavanagh @stevencavanagh
    last edited by Mar 15, 2025, 7:23 PM

    @stevencavanagh If it all works for a while I will swap the 4 port rj45 card (igb2-igb5) for the 2 port sfp+ and try and get a 10G link to the core switch, which is where I am trying to get to.

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @stevencavanagh
      last edited by Mar 15, 2025, 9:37 PM

      @stevencavanagh said in Removal of LAGG:

      just following guides how to set up VPNs.

      All of them are pure crap - the ones I have read at least, but yeah they have you go to manual rules for ZERO reason..

      Did I say broken? I meant make no sense, if your in hybrid mode why would you have rules in mapping in your hybrid section for your normal wan interface? Maybe it was how you snipped up and posted the images?

      Also hybrid are evaluated top down as well.. So then you have multiple in row with the same source network I see multiple with 192.168.20 and then 192.168.50..

      How are you doing your policy routing.. Your going to have issues trying to switch between them - unless you kill all the existing states..

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      S 1 Reply Last reply Mar 15, 2025, 10:22 PM Reply Quote 0
      • S
        stevencavanagh @johnpoz
        last edited by Mar 15, 2025, 10:22 PM

        @johnpoz said in Removal of LAGG:

        @stevencavanagh said in Removal of LAGG:

        just following guides how to set up VPNs.

        All of them are pure crap - the ones I have read at least, but yeah they have you go to manual rules for ZERO reason..

        Did I say broken? I meant make no sense, if your in hybrid mode why would you have rules in mapping in your hybrid section for your normal wan interface? Maybe it was how you snipped up and posted the images?

        Also hybrid are evaluated top down as well.. So then you have multiple in row with the same source network I see multiple with 192.168.20 and then 192.168.50..

        How are you doing your policy routing.. Your going to have issues trying to switch between them - unless you kill all the existing states..

        I snipped them up from top to bottom.

        If I remember I had set them up so multiple VPN gateways were in a group (all Tier 1) and I could then use policy routing to send all traffic from certain IPs (all static) out via VPN and the rest via the default gateway. The outbound NAT for 192.168.20, 192.168.50 etc are all VLANs, hence why there are so many.

        Also, floating rule exists (kill switch).

        What I cannot remember is how Pfsense determines which of the Tier 1 VPNs to select as my IP address switches regularly from country to country, which is fine.

        Fairly certain I'm not killing all the states, what problems will I have?

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Mar 17, 2025, 2:45 AM

          If they're actually set as the same tier it will just move to the next gateway in the group in the event of a failover.

          S 1 Reply Last reply Mar 17, 2025, 2:47 AM Reply Quote 0
          • S
            stevencavanagh @stephenw10
            last edited by Mar 17, 2025, 2:47 AM

            @stephenw10

            Must be failing fairly regularly then!

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Mar 17, 2025, 2:59 AM

              Depends how you are using it. If they are in a group you're policy routing to (which I think they are) then pf will will load-balance between them so you will see connections change continually.

              S 1 Reply Last reply Mar 17, 2025, 3:03 AM Reply Quote 0
              • S
                stevencavanagh @stephenw10
                last edited by Mar 17, 2025, 3:03 AM

                @stephenw10

                They are inna group and they do appear o load share but only seems to be 3 of them at any one time for some reason.

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Mar 17, 2025, 12:09 PM

                  Are they all connected? Are they all at the same tier?

                  S 1 Reply Last reply Mar 17, 2025, 12:24 PM Reply Quote 0
                  • S
                    stevencavanagh @stephenw10
                    last edited by Mar 17, 2025, 12:24 PM

                    @stephenw10 Yes, they are all connected and all at tier 1

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Mar 17, 2025, 12:28 PM

                      Hmm, well I would expect to see traffic on all of them then. One thing that often causes issues in this sort of setup though is when the VPN provider uses the same gateway IP for multiple servers. In that situation pf can only route to one of them.

                      S 1 Reply Last reply Mar 17, 2025, 1:21 PM Reply Quote 0
                      • S
                        stevencavanagh @stephenw10
                        last edited by Mar 17, 2025, 1:21 PM

                        @stephenw10

                        Yes, that's a problem with Nordvpn, which is why I also use PIA also. Consequently, I have only one instance of Nordvpn and the rest are PIA, which have different gateways

                        S 1 Reply Last reply Mar 17, 2025, 4:13 PM Reply Quote 1
                        • S
                          stevencavanagh @stevencavanagh
                          last edited by Mar 17, 2025, 4:13 PM

                          @stevencavanagh

                          One issue I have found but may not be related to VPNs is that on running a DNS leak test, I find my ISPs external WAN ip address alongside the VPNs public ip address. The dashboard shows the only DNS server as 127.0.0.1, which I believe is correct as I am using DND resolver. Had a look around the forum at the many posts but yet to find a cause or solution!

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Mar 17, 2025, 4:52 PM

                            How is Unbound configured? How is DNS set in System General Setup?

                            S 1 Reply Last reply Mar 17, 2025, 5:09 PM Reply Quote 0
                            • S
                              stevencavanagh @stephenw10
                              last edited by Mar 17, 2025, 5:09 PM

                              @stephenw10

                              General settings.........

                              login-to-view

                              DNS Resolver..........

                              login-to-view
                              login-to-view

                              login-to-view
                              login-to-view
                              login-to-view

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Mar 17, 2025, 6:24 PM

                                OK so you have Unbound set to use any (all) interfaces for outgoing queries and that includes WAN. Since it's resolving directly anything looking for that will see the WAN IP as the source.

                                S 2 Replies Last reply Mar 17, 2025, 6:25 PM Reply Quote 0
                                • S
                                  stevencavanagh @stephenw10
                                  last edited by Mar 17, 2025, 6:25 PM

                                  @stephenw10

                                  So, I assume I need to remove WAN from that then.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    stevencavanagh @stephenw10
                                    last edited by Mar 17, 2025, 7:08 PM

                                    @stephenw10

                                    No matter what I do to the outgoing network interface i.e. leave it at WAN only, I still get the ISP ip address showing in the leak test. I thought it would just show 127.0.0.1

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Mar 17, 2025, 7:41 PM

                                      The leak test shows the IPs of the DNS resolver in use. Since you are using Unbound directly it will show your public WAN IP address for any queries sent out of the WAN.

                                      If you set Unbound to use only the VPN connections for outbound queries the leak test will only show the VPN provider. That might cause problems for any service that uses DNS checks, like Netflix for example.

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