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

    Static route added via route utility in pfSense shell is working but suddenly stopped working

    Scheduled Pinned Locked Moved Routing and Multi WAN
    18 Posts 3 Posters 24.1k 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.
    • JeGrJ
      JeGr LAYER 8 Moderator
      last edited by JeGr

      @limez17 said in Static route added via route utility in pfSense shell is working but suddenly stopped working:

      Adding this other gateway as my gateway for my LAN1 is not possible. Should not set upstream GW for LAN right?

      Then you're doing something wrong. Post your screens from gateway and routes screens so we can see and help. I've configured countless setups that were not directly connected on the same LAN in the same way: added a manual route via console, got into the WebUI, added the gateway and static routes there, done. No disconnect any more.

      And no you shouldn't set it as your LAN gateway. Just add it as another gateway and add a route via it on the static routes tab and it's done.

      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.

      L 1 Reply Last reply Reply Quote 0
      • L
        limez17
        last edited by

        @JeGr how to add my other router as another gateway for my pfSense?

        1 Reply Last reply Reply Quote 0
        • L
          limez17 @JeGr
          last edited by

          @JeGr here is my screens:
          GW:
          d4eb5d6e-19b3-456f-b126-f8838dc03322-image.png

          Route:
          c5896d12-36a6-487b-b7ef-15aa70baac3c-image.png

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

            That is not the Routes Screen I was talking but the "static routes" tab on system/routing!

            Also: I don't see your gateway 192.168.1.246 in the gateway screenshot.

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

              @JeGr I don't have static routes under system/routing. I can't add my static route there.

              How to add gateway my other router as gateway on my pfSense?
              95c73a39-cd81-47fa-8fd8-5e5b3f7f7ba0-image.png

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

                I was already telling you at least twice now ๐Ÿ™„
                Select the Interface from which your remote LAN gateway has to be reached (I expect LAN! or otherwise you wouldn't add it there manually every...time...again) and add it. Then add your static route with THAT newly defined gateway.

                A gateway is a gateway. It hasn't to be on WAN if it's not an uplink.

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

                  @JeGr thank you for clarifying this. This really helped me. Done setting my gateway on LAN interface. It worked well ^_^

                  Thank you so much.

                  1 Reply Last reply Reply Quote 0
                  • L
                    limez17
                    last edited by

                    @JeGr route still won't work after adding static route! My static route via static/routing still need a rule on my LAN interface to destination 202.60.9.71 in order to access it.

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

                      Post your:

                      Interface rules
                      Gateway configuration
                      Static route

                      And describe exactly what source address cannot reach what destination address.

                      A network diagram would probably help you communicate your issue more effectively.

                      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 0
                      • L
                        limez17
                        last edited by

                        @Derelict
                        Interface rule:
                        1efa4a8e-c5a9-4e55-8b3d-95517c62df16-image.png

                        Gateway configuration:
                        ea2aed3f-ed57-4664-b8d9-deab815f6f33-image.png
                        14422b99-061a-4aa7-93dc-9bd94a461183-image.png

                        5baefd9a-6fd9-477c-95c8-e9b187ff6ed5-image.png

                        My LAN address is unable to reach 202.60.9.71 without the LAN rule, should be accessible without it since I have a static route for it.

                        I already posted my diagram before, but here it is:
                        e85000c4-22d6-42d8-a1b1-962b859dc0b4-image.png

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