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

    Inbound Traffic 2 Gateways different public IPs one Interface

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 113 Views 1 Watching
    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.
    • B Offline
      BJ55463
      last edited by

      Hello,

      on my wan interface theer are two gateways for failover. I also use two pfsense firewalls in ha. Both gateways use diffrent isp so there are diffrent ips. Both gateways forward all traffic to the carp ip on the wan interface. Thats works very well. But I have one problem. GW1 is the default gw. GW2 is used only if GW1 is offline. If traffic comes from GW2 while GW1 is active, i cannot make a connection. For example: Inbound mails should be send to puplic IP from GW1 or public IP from GW2. This works because the mailserver test the other connection if one fails. But only one connection works (the connection where the gw is actually the default gw for the pfsense box). So is it possible to tell pfsense to use the not default gw for answers if the incomming connection came from this gw?

      Best regards,

      Alexander

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