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

    Multiple WAN IPs

    Scheduled Pinned Locked Moved NAT
    4 Posts 3 Posters 2.1k 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.
    • P
      pki
      last edited by

      Hi there.

      I have now some more WAN IPs.  The first is assigned to the WAN interface, the other are entered as VIPs ProxyARP.

      I would like to setup ONE host from LAN to use the second WAN IP, all other to use the first as outgoing. Hot to do this?

      WAN IP xxx.xxx.xxx.1 (interface) - for all LAN hosts
      WAN IP xxx.xxx.xxx.2 (Proxy ARP Virtual IP) - outgoing for 192.168.1.6

      I have read many posts and manuals, i can't find the answer. At Outgoing NAT i can set only a whole network as source, not a single IP?!

      Best Regards

      Piotr

      1 Reply Last reply Reply Quote 0
      • E
        empwebs
        last edited by

        I actually have the same issue.

        I'm using 3 wans. 1st is the main connection of our network, 2nd should be a dedicated connection to a single machine, 3rd is backup.

        how can I setup the 2nd one?

        Thanks!

        1 Reply Last reply Reply Quote 0
        • dotdashD
          dotdash
          last edited by

          empwebs, I don't think that your issues is the same, so I'm going to stick to the OP's topic. I think you should pose your question in the multi-wan forum.
          Anyway.
          You just use /32 as the subnet mask. Make sure this rule is BEFORE the default one.
          gratuitous AON example:
          WAN 192.168.1.6/32 * * * xxx.xxx.xxx.2 * NO 'Nat Server'
          WAN 192.168.1.0/24 * * * * * NO 'Auto created rule for LAN'

          1 Reply Last reply Reply Quote 0
          • P
            pki
            last edited by

            Many thanks dotdash.

            It works, i already had tried a setup like the one you written, but the rule was below the auto-created.

            Many thanks and best wishes from Poland.

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