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

    Static route to LAN destination

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    8 Posts 2 Posters 2.6k 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
      calvinz
      last edited by

      I am trying to create a static route towards a local machine. The reason why I'm doing this is because the destination machine is both hosting the OpenVPN server and VPN client connection. Back in pF 1.2.3 I can create it manually through the static route page but now that is missing in 2.0 RC3  :-\ any heads up ?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        System > Routing. Add a gateway (the IP of the VPN router), then go to the routes tab and add a static route using that gateway.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • C
          calvinz
          last edited by

          @jimp:

          System > Routing. Add a gateway (the IP of the VPN router), then go to the routes tab and add a static route using that gateway.

          adding a static route through the routes tab did not work.. clients behind pfsense still could not reach the VPN subnet
          however adding a firewall rule to pass all VPN subnet to the VPN gateway did work..  :-\

          1 Reply Last reply Reply Quote 0
          • C
            calvinz
            last edited by

            i've tried just adding a static route mapped to that gateway but the LAN clients still went through the WAN interface instead .. am I missing anything ? :-\ ???

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              @calvinz:

              i've tried just adding a static route mapped to that gateway but the LAN clients still went through the WAN interface instead .. am I missing anything ? :-\ ???

              Let me guess… you're using multi-wan?

              http://doc.pfsense.org/index.php/Multi-WAN_2.0#Policy_Route_Negation

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • C
                calvinz
                last edited by

                @jimp:

                @calvinz:

                i've tried just adding a static route mapped to that gateway but the LAN clients still went through the WAN interface instead .. am I missing anything ? :-\ ???

                Let me guess… you're using multi-wan?

                http://doc.pfsense.org/index.php/Multi-WAN_2.0#Policy_Route_Negation

                yes I am on a multi-wan setup

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  Then read the link I provided and add some policy route negation rules for local networks.

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • C
                    calvinz
                    last edited by

                    @jimp:

                    Then read the link I provided and add some policy route negation rules for local networks.

                    yeah I've done it and it seems to be working now :)

                    however I am encountering another issue though.. I have a VPN connection to my office network that is on the 192.168.0.0/19 segment and I have another site to site VPN connection to the remote site segment that is on 192.168.90.0/24.. the connection to the 192.168.90.0/24 segment tends to break often and I do have a feeling that it is going across the wrong path  :-\

                    Capture.JPG
                    Capture.JPG_thumb

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