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

    Multiple virtual IPs, one WAN -- outbound round robin use of IPs possible?

    Scheduled Pinned Locked Moved NAT
    7 Posts 3 Posters 547 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.
    • A
      Airwave
      last edited by Airwave

      Hi all,

      I have a pfsense with one WAN adapter. On this adapter I have multiple external IPs
      eg. 123.145.789.012/32 and 234.456.897.012/32.

      No I want to use all of these IP addresses outbound random or round robin for LAN to WAN.
      Is that possible? Only found this possibility for Firewall-NAT-Outbound-Edit-Translation for an ip block. But I want to use single external IPs.

      83170c76-a66c-4c46-8f95-099fbaea2b6f-image.png

      Thanks in advance.

      Regards

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

        Add the desired IPs to an alias. Then you should be able to select this alias at Translation address in outbound NAT.

        A 1 Reply Last reply Reply Quote 0
        • A
          Airwave @viragomann
          last edited by Airwave

          @viragomann

          Yes, but there I can only route the LAN traffic via a subnet or one of these virtual Ips.
          I want to route the LAN to WAN randomly via each of the virtual IPs...

          2d93ca7a-20a0-4de1-924b-94dafd7f1eac-image.png

          N 1 Reply Last reply Reply Quote 0
          • N
            netblues @Airwave
            last edited by

            @Airwave Create an alias with the ip's you want, and use this as address. It does exactly what you are asking.

            1 Reply Last reply Reply Quote 0
            • A
              Airwave
              last edited by

              @netblues said in Multiple virtual IPs, one WAN -- outbound round robin use of IPs possible?:

              n alias with the ip's you want, and use this as address. It

              Jihaaa, so coool. That is the Trick!!!!
              Great Answer.

              THANK YOU SO SO SO MUCH!!!!!!!!!!!!!!

              N 1 Reply Last reply Reply Quote 0
              • N
                netblues @Airwave
                last edited by

                @Airwave and consider random with stickiness since changing ip's between https requests tend to break things badly.

                A 1 Reply Last reply Reply Quote 0
                • A
                  Airwave @netblues
                  last edited by

                  @netblues said in Multiple virtual IPs, one WAN -- outbound round robin use of IPs possible?:

                  @Airwave and consider random with stickiness since changing ip's between https requests tend to break things badly.

                  Okay, great thank you.
                  I'll test these options :-)

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