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

    Route by source

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

          Thanks! It solved my problem.  :)

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