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

    Routing Nightmare

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 1.2k 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.
    • L Offline
      linuxgurumaniac
      last edited by

      Hello

      I have two locations I need to connect through a local network.

      _______          _____                                                        ______          _____        ______
      |          |  (A1) |      |  (A3)          Local Loop              (B1)  |        | (B2)  |      | (C1) |        |
      | Lan A | <–->| pf A |  <----------------------------------------> | Pf B  | <---> |ASA |<--->|LAMP |
      ||        ||                                                      ||          |____|        |_|
                              ^
                              | (A2)
                          ________
                          | Internet|
                          | _______|

      A1 - 10.1.14.0 <--> 10.1.14.1
      A2 - Dhcp      <--> any
      A3 - 192.168.x.y <----> 192.168.z.w - B1 ( Being routed by a Third party)
      B2 - 10.1.2.25 <--> 10.1.2.10
      C1 - 172.16.0.1 <--> 172.16.0.2

      Simple routing, I want "Lan A" to be able to access the "LAMP" server on "Lan B".
      I added these two routes for "pf A" :
                                        R1 : 10.1.2.0    -> A3 GW
                                        R2 : 172.16.0.0 -> A3 GW

      I have added one route for "pf B":
                                        R1 : 172.16.0.0 -> 10.1.2.10

      I was able to access "pf B" from "Lan A".
      I can't access the "LAMP" server from "Lan A".

      I did ignore the Internet connection (A2), my priority is with the route.

      Now If I replaced "pf A" with a simple "Cisco" router.
      with the following route :
                                        R1 : any any A3 GW

      "Lan A" is able to access the "LAMP" server on "Lan B".

      Stuff I did :

      • I opened the firewall on both sides.
      • I messed with Nating on "pf A", ticking/unticking some of the advanced options in firewall/nat.

      But sadly I failed.

      Any help with welcome.

      1 Reply Last reply Reply Quote 0
      • H Offline
        heper
        last edited by

        create a route for 172.16.0.1/24 –> PFB on PFA
        and a route for 10.1.14.1/24 -->PFA on PFB

        should do the trick

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