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

    Different Network Structure

    Scheduled Pinned Locked Moved Routing and Multi WAN
    16 Posts 3 Posters 1.2k Views 3 Watching
    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.
    • V Offline
      viragomann
      last edited by

      Assuming both routers are the default gateways in the network behind, you need to add a static route on each for the network behind the other one.

      So on pfSense, you have to add the IP of the Fortigate as a gateway first in System > Routing > Gateways.
      Then go to Static routes and add a route for the network behind the Fortigate and selct the gateway you've added before.
      On the interface which is facing to the Fortigate uncheck "block private networks" to allow access from the other block.
      Also add firewall rules to that interface to allow the desired access.

      ahmetakkayaA 1 Reply Last reply Reply Quote 1
      • ahmetakkayaA Offline
        ahmetakkaya @viragomann
        last edited by

        @viragomann

        Thank you
        I have a very foreign poor opinion on these issues
        I don't know where to start

        1 Reply Last reply Reply Quote 0
        • chpalmerC Offline
          chpalmer
          last edited by

          If you have a spare interface on each of the routers you could set up a subnet both routers share and then run RIP between them..

          Triggering snowflakes one by one..
          Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

          1 Reply Last reply Reply Quote 0
          • ahmetakkayaA Offline
            ahmetakkaya
            last edited by

            alt text

            network this way
            But how should I do it?

            1 Reply Last reply Reply Quote 0
            • chpalmerC Offline
              chpalmer
              last edited by chpalmer

              Both interfaces on the same subnet. Say 172.20.1.0/30

              Routed package on pfsense.

              https://kb.fortinet.com/kb/documentLink.do?externalID=FD30031

              Then you allow networks from the other side to reach via firewall rules.

              bridge.jpg

              You will probably have to allow the pfsense traffic on the Fortinet side as well.

              Triggering snowflakes one by one..
              Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

              1 Reply Last reply Reply Quote 0
              • chpalmerC Offline
                chpalmer
                last edited by

                Have you set up the interfaces that you show connected in your picture above?

                Triggering snowflakes one by one..
                Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                ahmetakkayaA 1 Reply Last reply Reply Quote 0
                • ahmetakkayaA Offline
                  ahmetakkaya @chpalmer
                  last edited by

                  @chpalmer

                  I fail ignorant :(

                  1 Reply Last reply Reply Quote 0
                  • chpalmerC Offline
                    chpalmer
                    last edited by

                    First set up your spare interfaces like this and connect them together.picture.jpg

                    Triggering snowflakes one by one..
                    Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                    1 Reply Last reply Reply Quote 1
                    • chpalmerC Offline
                      chpalmer
                      last edited by

                      Add the "Routed" package.

                      picture2.jpg

                      Triggering snowflakes one by one..
                      Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                      1 Reply Last reply Reply Quote 1
                      • chpalmerC Offline
                        chpalmer
                        last edited by chpalmer

                        Set up the "Routed" package on the pfsense router and choose the interface that connects to the other Fortinet Router. Pick a password that both sides will share.

                        picture3.jpg

                        Triggering snowflakes one by one..
                        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                        1 Reply Last reply Reply Quote 1
                        • chpalmerC Offline
                          chpalmer
                          last edited by

                          @chpalmer said in Different Network Structure:

                          Use this document to help you with the Fortinet router and setting up RIP on it.

                          https://kb.fortinet.com/kb/documentLink.do?externalID=FD30031

                          Triggering snowflakes one by one..
                          Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                          ahmetakkayaA 1 Reply Last reply Reply Quote 1
                          • ahmetakkayaA Offline
                            ahmetakkaya @chpalmer
                            last edited by

                            @chpalmer

                            thank you for your help

                            i hope i can make it

                            1 Reply Last reply Reply Quote 0
                            • chpalmerC Offline
                              chpalmer
                              last edited by

                              If you don't have spare interfaces.. this could be done via a VPN from one WAN to the other WAN..

                              Triggering snowflakes one by one..
                              Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                              ahmetakkayaA 1 Reply Last reply Reply Quote 1
                              • ahmetakkayaA Offline
                                ahmetakkaya @chpalmer
                                last edited by

                                @chpalmer

                                Will it work if we connect two devices with port and write route ?

                                chpalmerC 1 Reply Last reply Reply Quote 0
                                • chpalmerC Offline
                                  chpalmer @ahmetakkaya
                                  last edited by

                                  @ahmetakkaya said in Different Network Structure:

                                  @chpalmer

                                  Will it work if we connect two devices with port and write route ?

                                  Yes. The routed package writes the route for you. But it can be all done manually..

                                  Triggering snowflakes one by one..
                                  Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

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