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

    VIPs and 2 LANs

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    2 Posts 2 Posters 645 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 Offline
      aciesler
      last edited by

      I am new to pfsense! I have 2.4.0 community and wondered if someone could help me understand how to have 2 LANS, each with their own unique static WAN IP. Traffic isn't expected to route between LANs. I do have 3 ports on my hardware, however I can trunk 1 NIC if that's how people want to guide me.

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        So you just want the traffic from each LAN to appear to exit from a different VIP when it leaves WAN?

        You can do that easily with outbound NAT.

        1. Add the VIPs if you haven't already, and make sure they work
        2. Firewall > NAT, Outbound tab, set it to Hybrid mode and save.
        3. Add a rule on that page for the WAN interface, match a source of the first LAN subnet, translation address is your first VIP
        4. Copy that rule, change the source to your second LAN, and set the translation address to your second VIP

        If you only have one VIP and want to use the WAN address for one of those, you can do that too, just set the translation addresses to be whatever you need/want.

        Anything beyond that (like stopping the networks from reaching each other) is up to your local rules on their interfaces, the outbound NAT only controls what happens when their traffic exits WAN.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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