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

    Assign VIP to outgoing NAT ???

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    5 Posts 2 Posters 2.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.
    • K
      Krisstian
      last edited by

      hello,

      My WAN connection now has 5 IP addresses.  My pfSense unit has multiple internal subnets via dedicated interfaces.  The pfSense's WAN IP address is dynamic & outside of the assigned IP address range.  So I added the 5 usables IPs as VIPs.  Incoming NAT works fine, but I would also like outgoing traffic which originates from certain local subnets to be assigned certain VIPs.

      For example;

      LAN –-> VIP4
      OPT1 ---> VIP2
      OPT2 ---> VIP3
      OPT3 ---> VIP1
      OPT4 ---> VIP2

      Can this be accomplished without using a 2nd router?

      thanks in advanced

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        firewall –> NAT --> Enable "Advanced outbound NAT"

        Create rules to NAT according to your map above.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • K
          Krisstian
          last edited by

          I've tried that & when i check what Ip address is being report to websites, the DHCP on the WAN still comes up, not the VIP assigned.

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            Please show a screenshot of your AoN rules.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

            1 Reply Last reply Reply Quote 0
            • K
              Krisstian
              last edited by

              i just tested it again & it worked.

              thank you GruensFroeschli

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