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

    How to allow users to choose a gateway?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    7 Posts 2 Posters 540 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.
    • B
      beerox
      last edited by

      Hi everyone,

      I have three gateways - two physical and one VPN. Of course, I can route individual networks or individual clients to each of them, but I would like to give people a choice. How can I do that? In the days before pfSense, I simply had two routers in one network, and the user changed the gateway using a .bat file. How can I do this now with pfSense?

      Any advice or suggestions would be greatly appreciated. Thank you in advance!

      M 1 Reply Last reply Reply Quote 0
      • M
        mcury @beerox
        last edited by

        @beerox I would use APs that are VLAN capable.
        So, you could create three wifi networks and depending on which the client connects, it gets out through a different gateway.

        dead on arrival, nowhere to be found.

        B 1 Reply Last reply Reply Quote 0
        • B
          beerox @mcury
          last edited by

          @mcury Thank you, but that's not the solution I'm looking for. Most of them are desktop computers without Wi-Fi. However, now I've come up with the idea that I can change the computer's IP address using batch files.

          However, forcing an IP change may not be the cleanest solution. Does anyone know of something better?

          M 1 Reply Last reply Reply Quote 0
          • M
            mcury @beerox
            last edited by

            @beerox perhaps install a second NIC in the desktop ?

            You could connect both cables at the same time to the switch, both NICs would be in a different subnet(vlan), and then just change the default route in the desktop (if its Windows, check route print, route add and route change commands).

            dead on arrival, nowhere to be found.

            B 1 Reply Last reply Reply Quote 0
            • B
              beerox @mcury
              last edited by

              @mcury I'm ruling out hardware changes for now. A better solution would be changing the computer's IP using the netsh command, but I wonder if there's another way to mark traffic, for example using QoS. I can set it on windows interface in three positions (high, low, normal). Can pfSense route packets based on QoS?

              M 1 Reply Last reply Reply Quote 0
              • M
                mcury @beerox
                last edited by

                @beerox said in How to allow users to choose a gateway?:

                @mcury I'm ruling out hardware changes for now. A better solution would be changing the computer's IP using the netsh command, but I wonder if there's another way to mark traffic, for example using QoS. I can set it on windows interface in three positions (high, low, normal). Can pfSense route packets based on QoS?

                Never tried, but I don't think it is possible. Perhaps using DSCP ?
                Really don't know, you will have to try..

                dead on arrival, nowhere to be found.

                B 1 Reply Last reply Reply Quote 1
                • B
                  beerox @mcury
                  last edited by

                  @mcury Thank you very much for your help.

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