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

Pfsense and Static Route

Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
5 Posts 2 Posters 2.5k 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.
  • F
    francesco.gabriele
    last edited by Dec 19, 2012, 2:49 PM

    hi guys, i've a problem and i cannot understand how to fix it: i've a firewall with 2 wan, one as default. Rules has been configured for single ip, and in every ip i specify the gateway to use, so some ips have the default and some other have the second. Everything works fine but static rules works only for the ips whic have the default gateway. Anyone Does know why this happen?

    Pfsense Version 2.0.1-RELEASE

    1 Reply Last reply Reply Quote 0
    • M
      marcelloc
      last edited by Dec 19, 2012, 2:56 PM

      You need rules to follow static routes before rules with specific gateway.

      When you add a rule forcing gateway, it will ignore routing table as you are forcing a route for it.

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • F
        francesco.gabriele
        last edited by Dec 19, 2012, 3:29 PM

        Thanks for the help

        can you show me how to make the rule?

        example

        1. Wan1 192.168.10.1
        2. Wan2 192.168.20.1
        3. Static  192.168.13.0 gw 192.168.10.1
        4. Rules Sorce ip 192.168.30.10 gw 192.168.20.1
        1 Reply Last reply Reply Quote 0
        • M
          marcelloc
          last edited by Dec 19, 2012, 8:00 PM

          just allow the traffic you want on remote destination without setting a gatway.

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • F
            francesco.gabriele
            last edited by Dec 20, 2012, 9:06 AM

            Thanks it worked, I wish you a Merry Christmas

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received