Navigation

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

    Pfsense and Static Route

    Off-Topic & Non-Support Discussion
    2
    5
    2260
    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

      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
      • marcelloc
        marcelloc last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • F
          francesco.gabriele last edited by

          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
          • marcelloc
            marcelloc last edited by

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

            1 Reply Last reply Reply Quote 0
            • F
              francesco.gabriele last edited by

              Thanks it worked, I wish you a Merry Christmas

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Products

              • Platform Overview
              • TNSR
              • pfSense
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy