Navigation

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

    NAT on WAN2 failed if WAN1 down

    NAT
    2
    2
    625
    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
      anhvt last edited by

      Hello,

      I have setup a pfSense (2.3.1-RELEASE-p1) with 1 LAN and 2 WAN. Both 2 WAN are PPPoE connections to 2 ISP. For internet access, I've configured 3 gateway groups: 1 for load balancing and 2 for failover, also set the rules for LAN to access internet via those groups.

      I've add 2 rules for port forwarding TCP/80 from 2 WAN to an internal ip address:

      | Interface | Protocol | Source Address | Source Port | Destination Address | Destination Port | NAT IP | NAT Port |
      | WAN1 | TCP | * | * | WAN1 Address | 80 (HTTP) | 192.168.1.100 | 80 (HTTP) |
      | WAN2 | TCP | * | * | WAN2 Address | 80 (HTTP) | 192.168.1.100 | 80 (HTTP) |

      Both 2 above rules is set NAT Reflection: Enable (NAT + Proxy). Other settings are left default.

      When both 2 WAN online, from the internet, I can telnet port 80 on each WAN's public IP address, means above rules work. But if the WAN1 down, I cannot telnet port 80 on WAN2. From the internal host 192.168.1.100, it can ping to the internet.

      There is another problem, if WAN1 down, squid proxy cannot access internet, every clients in LAN cannot access web, so I have to disable squid to allow web access.

      Can anyone help me why, and how to fix this?

      Regards,

      Anh

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

        Your telnet to port 80 is likely going to squid, and then failing because squid can't get out (no default gateway).

        Activate Default Gateway Switching under System > Advanced, Miscellaneous.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Products

        • Platform Overview
        • TNSR
        • pfSense
        • Appliances

        Services

        • Training
        • Professional Services

        Support

        • Subscription Plans
        • Contact Support
        • Product Lifecycle
        • Documentation

        News

        • Media Coverage
        • Press
        • Events

        Resources

        • Blog
        • FAQ
        • Find a Partner
        • Resource Library
        • Security Information

        Company

        • About Us
        • Careers
        • Partners
        • Contact Us
        • Legal
        Our Mission

        We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

        Subscribe to our Newsletter

        Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

        © 2021 Rubicon Communications, LLC | Privacy Policy