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

    Firewall rule match based on Virtual IP

    Scheduled Pinned Locked Moved Firewalling
    1 Posts 1 Posters 511 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.
    • P
      petr
      last edited by

      Hi,

      The current setup had 2 WAN connections, with 2 WAN routers accessible on the same subnet. Each device was then manually configured which router to use.

      I've matched the setup and created a virtual IP matching the previous alternative router. I can use both the main and IP alias as a router, which works fine.

      I can also set up firewall rules based on IP address of the guest to route them from either main or alternative gateway.

      However, my question is - is there a way to match on which virtual IP the packet came in and then decide on which WAN it should go? I can only see a match on the interface, but both of the IPs are on the same interface so I am not allowed the distinction.

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