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

    OpenVPN "The Clash of Gateways"

    Scheduled Pinned Locked Moved OpenVPN
    19 Posts 4 Posters 1.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.
    • NogBadTheBadN
      NogBadTheBad @JeGr
      last edited by NogBadTheBad

      @JeGr

      Looks like NordVPN do:-

      Screenshot 2019-10-15 at 11.26.36.png

      I wonder if they roll the same config out on their boxes assuming people just connect once from one device.

      Andy

      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

      1 Reply Last reply Reply Quote 1
      • T
        techtester-m @JeGr
        last edited by

        @JeGr Yeah...just talked to NordVPN and their servers obviously handle it themselves so I must leave blank and deal with this issue in another way.
        Thanks,

        @NogBadTheBad Hmmm I thought so...So what do I do? Use only 2 servers in that gateway group with different protocols (1 TCP, 1 UDP) or use a different approach (if there is one) for Load Balancing & Fail-over?

        1 Reply Last reply Reply Quote 0
        • NogBadTheBadN
          NogBadTheBad
          last edited by NogBadTheBad

          I'd just have 3 servers and hope ☺

          At the end of the day if Nord are handing out the same ip range to the clients it doesn't really matter from their point of view as most people will only connect the once from the NordVPN client and they'll just work.

          I'm guessing they have a standard config that they roll out to all their servers.

          Andy

          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

          T 2 Replies Last reply Reply Quote 1
          • T
            techtester-m @NogBadTheBad
            last edited by techtester-m

            @NogBadTheBad Apparently cases like this are seen as "extreme cases" to them so why bother SMH...

            1 Reply Last reply Reply Quote 0
            • T
              techtester-m @NogBadTheBad
              last edited by

              @NogBadTheBad What about the Load Balancing issue I mentioned? - Doesn't seem like load balancing when 99% of the traffic goes through 1 of the servers. On the other hand, without "Sticky Connections" many problems arise.

              Also, is this the way to achieve fail-over? Or is there another way to create multiple 1-2 VPN gateways and have the desired Netwrok interfaces dynamically change their gateway to what ever is available and online (besides just the default WAN)?

              Thank you for your patience,

              1 Reply Last reply Reply Quote 0
              • NogBadTheBadN
                NogBadTheBad
                last edited by NogBadTheBad

                I just use a gateway group with 3 tiers and TBH I only added 3 to play with gateway groups.

                IIRC if you set two the same tier level they load balance.

                https://docs.netgate.com/pfsense/en/latest/routing/gateway-settings.html

                Screenshot 2019-10-15 at 11.45.06.png

                Andy

                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                T 1 Reply Last reply Reply Quote 1
                • T
                  techtester-m @NogBadTheBad
                  last edited by techtester-m

                  @NogBadTheBad
                  (1) I did set all of them to Tier 1. So you're saying that even though I don't see the traffic on all of them in the graphs they still load balancing, or you're saying that if I don't see it they probably don't load balancing and I should set same Tier level (which I did)?

                  (2) A gateway group is also the only/best solution for a fail over? Or it could be done dynamically as I described? Ok, my bad. Misunderstood the possibilities with a gateway group. Fail over is perfectly manageable with Tier numbers/priorities lol...sorry.

                  (3) Below is the answer from one of NordVPN's support guys:

                  Screen Shot 2019-10-15 at 13.48.49.png

                  1 Reply Last reply Reply Quote 0
                  • NogBadTheBadN
                    NogBadTheBad
                    last edited by NogBadTheBad

                    I just tried a traceroute to 8.8.8.8 from two different devices connected to my NORD LAN after setting AU connection to be the same tier as the US connection.

                    A traceroute from one device shows a US route as the first hop and the other device shows an AU route.

                    Both devices use the same gateway group.

                    Andy

                    1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                    T 1 Reply Last reply Reply Quote 1
                    • T
                      techtester-m @NogBadTheBad
                      last edited by techtester-m

                      @NogBadTheBad So the load balancing won't necessarily (or maybe never) split the load when only one device is creating traffic...but when multiple devices "join the party", it kicks in. Did I get it right?

                      1 Reply Last reply Reply Quote 0
                      • NogBadTheBadN
                        NogBadTheBad
                        last edited by

                        Yup it round robins.

                        Andy

                        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                        T 1 Reply Last reply Reply Quote 1
                        • T
                          techtester-m @NogBadTheBad
                          last edited by techtester-m

                          @NogBadTheBad Ok, thank you you're the man. It actually says "round robins" somewhere around the "Use Sticky Connections". But isn't round robins suppose to send packets that come from the same source through different routes?
                          So, again, and sorry for repeating myself, you're saying that round robins would kick in only when multiple devices join in?

                          Update: It won't be "efficient" sort to speak and maybe slow, to use round robin for traffic coming from the same device?

                          NogBadTheBadN 1 Reply Last reply Reply Quote 0
                          • NogBadTheBadN
                            NogBadTheBad @techtester-m
                            last edited by

                            @techtester-m

                            Yup one gateway, then the next, then the first ...

                            Andy

                            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                            1 Reply Last reply Reply Quote 1
                            • DerelictD
                              Derelict LAYER 8 Netgate
                              last edited by

                              When you connect to a VPN server it gives you a gateway address. If you connect to servers that give you the same gateway you will have the problems you are seeing because you can't have two interfaces with the same subnet/gateway on them. Choosing different access points from the same provider, or different providers, should solve it.

                              Chattanooga, Tennessee, USA
                              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                              Do Not Chat For Help! NO_WAN_EGRESS(TM)

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