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

    Can I pass 2+ gateways/routes through pfS for filtering while keeping them independent?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 344 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.
    • senseivitaS
      senseivita
      last edited by

      Say I want to use pfSense for filtering (or IDS, or DNSBL…) two default gatways for a downstream router. Devices should be addressable directly from anywhere within the network with their real address, or if translation is absolutely necessary, symmetric NAT is not allowed, therefore pfSense is allowed to NAT but all other devices aren't.

      Some form of route selection should be available at the deepest router down the network — the one fed by pfSense — but additional to no NAT, there aren't any routing protocols in use. VRF is available on the intranet router but the end network is still the same and can't be masked so there's not conflict.

      I made a little diagram to explain myself:
      pfsense-vrf.jpg

      I ran into this problem while trying to do something silly, I think it was trying to be my own public DNS service, something really not practical in the days of Cloudflare and what not. Regardless, it's not the first time I've ran into it. An easy fix would be just cloning pfSense so it's actually two appliances.

      For a little moment I thought I had it: traffic going down if coming from a routable address and via on of its gateways should sort itself out. Now I only needed to be able to have all the gateway available at the lowest router — virtual IPs in a single subnet connecting pfSense and downstream, policy route based on incoming address straight to the WAN, except from the downstream router it sees this as Equal-Cost MultiPath, I believe VRF deals with this but I'm not sure what needs to be the NAT situation there. pfSense (and every upstream it) still need to reach downstream via any of the links.

      Can this be solved with the available tools in pfSense? (except for routing protocols)

      It seems unlikely but every time I run into it I think I've found the solution only to realize I had tried that before. And that, and that. At least with a firm negative I can leave it for good. :) Oh well...thanks in adv for any advice.

      Missing something? Word endings, maybe? I included a free puzzle in this msg if you solv--okay, I'm lying. It's dyslexia, makes me do that, sorry! Just finish the word; they're rarely misspelled, just incomplete. Yeah-yeah-I know. Same thing.

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