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

    PfSense 2 WAN - 2 LAN , WAN is DHCP, both WAN gets same gateway

    Routing and Multi WAN
    2
    2
    3.4k
    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.
    • F
      fenixtx40
      last edited by

      Hello,

      I'm new to pfSense, read very good reviews about it, and also noticed it supported multiple WAN interfaces.

      Here is the deal:

      I have two WAN interfaces (DHCP) which get their IP addresses without issues.
      Both interfaces share the same gateway. (automatically provided by ISP)
      I have two LAN interfaces (static - 192.168.1.0/24 & 192.168.2.0/24)

      I want to have two completely separate traffic "tubes" if I can call it that way, meaning all traffic from/to LAN1 gets transferred from/to WAN1 , all traffic from/to LAN2 gets transferred through WAN2.

      no failover no loadbalancing, just plain NAT.

      I tried using manual outbound rules and LAN1->WAN1 works fine, but LAN2->WAN2 does not work (no internet access) even though WAN2 has public ip address, and a computer connected to LAN2 can ping LAN2s ip.

      I also noticed any system in LAN1 subnet can ping LAN2 interface ip address and viceversa (even though its /24).

      Perhaps you guys can help me on this one. I'd really appreciate it, thanks.

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

        Are the outbound NAT rules correct? You need outbound NAT rules for both WAN1 and WAN2 similar to the automatic rules that get generated for WAN1. You need two gateways under System > Routing for WAN1 and WAN2.

        In the firewall rules for LAN1 and LAN2 you must use the advanced gateway parameter and set it to WAN1 and WAN2 respectively for your Internet traffic rule.

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