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

    0.0.0.0 to Gateway IP

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    6 Posts 3 Posters 811 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.
    • P
      popeel-SSH
      last edited by

      Hi,

      I have looking everywhere in settings to achive following.

      I need a routing setup for

      Interface - External (WAN)

      static routing 0.0.0.0/0 to a WAN Gateway. Unfortunately, pfsense do not have the option to do that in static route.

      best I could do is as follows.

      4ddbecef-1c3b-4068-b424-089582be7629-image.png

      Any help please

      1 Reply Last reply Reply Quote 0
      • JeGrJ
        JeGr LAYER 8 Moderator
        last edited by

        @popeel-SSH said in 0.0.0.0 to Gateway IP:

        static routing 0.0.0.0/0 to a WAN Gateway

        That is the default route. Why would you manually want to set the default route? That's why you define a default WAN Gateway -> which is your default route. What do you want to do!?

        Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

        If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

        1 Reply Last reply Reply Quote 1
        • P
          popeel-SSH
          last edited by

          I am just trying to match the rule from our ASA firewall to pfsense. default route was redirected to wan gateway.

          Thanks for the quick response.

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by Derelict

            So set the default gateway on the WAN interface. Then look at the routing table. You will see 0.0.0.0/0 (default) routed to that gateway on that interface.

            Exactly the same as route Outside 0.0.0.0 0.0.0.0 ww.xx.yy.zz 1

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 1
            • P
              popeel-SSH
              last edited by

              Sorry. No. I can't see this route in the routing tabel and that is the reason I try to create it manually.

              When I go to diagnostics > Routes I can't see default route.

              1 Reply Last reply Reply Quote 0
              • JeGrJ
                JeGr LAYER 8 Moderator
                last edited by

                Yes it does. It is listed as "default". That's what 0.0.0.0/0 is all about anyway!

                aaa657c2-01ae-4e73-a32c-a5dfaf21a1a8-image.png

                Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

                If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

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