Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Route by source

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 917 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.
    • C
      ciroxm
      last edited by

      In "System: Static Routes" only have "Destination network" field. How i can create a static route by source IP?

      1 Reply Last reply
      Reply Quote 0
      • H
        heper
        last edited by

        routes never have a source because that wouldn't make much sense.

        what you can/want to do is called "policy routing".
        with this, you can force traffic towards a certain gateway. (this can be matched by source and/or destination)

        so basically, you create a firewall rule that will match & adjust the gateway in the advanced settings.
        https://forum.pfsense.org/index.php?topic=110041.0  clearly copy/pasted the wrong url    ;)
        https://doc.pfsense.org/index.php/What_is_policy_routing

        1 Reply Last reply
        Reply Quote 0
        • C
          ciroxm
          last edited by

          Thanks! It solved my problem.  :)

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy