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

    How can I route different prefixes to their respective tunneled gateways?

    Scheduled Pinned Locked Moved IPv6
    1 Posts 1 Posters 198 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

      I have a couple of HE prefixes, they both are GIF tunnels on pfSense.

      One of them is a standard setup textbook setup, the other though, is also a "standard textbook setup" except that its GIF endpoint is on a remote firewall/gateway that's linked to the first one with an S2S dual-stack OpenVPN tunnel that's using addresses from the first routed prefix for its regular traffic and even it has prefixes from the first GIF attached on its interfaces routed all the way over there through the OpenVPN tunnel.

      Somewhat like this:
      alt text

      But there's not much to route there really, traffic merely follows the default gateways set on each firewall and ignores other gateways. But how could I force the traffic from a certain subnet where NAT tricks are frowned upon to use a foreign segment so it eventually finds its gateway?

      Policy routing? Policy filtering? FRR? (…is there VRF on pfSense??)

      I was thinking just now that at least I will be able to do it all in floating rules since there's no NAT involved, no reply-to to worry about; which gave this big ol' hunch that source-prefix-based policy routing rules will do, but I don't want to get my hopes up just yet because I'm afraid it might be prefix translation as well.

      Thanks.

      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.