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

    Multi-subnet routing config

    Routing and Multi WAN
    2
    4
    7.9k
    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.
    • K
      KiFFuSeR
      last edited by

      Hi all,

      I have this setup in a Community Wireless LAN.

      Currently the network has 3 pfSense boxes (pfSense, Router A and Router B), this setup works quite well, all users in the internal networks can access to the Internet trough pfSense and to the game/ftp servers that run on the 192.168.1.0/24 segment. The problem is that this setup is running trough NAT, from Router A and on. I have a static route on "pfSense": Lan –-> Dest: 192.168.2.0/24 ---> 192.168.1.1
      What I would like to do is disabling NAT completely in the internal subnets and run a full routing network.
      From what I have investigated perhaps this would imply using Advanced Outbound NAT, but I'm not familirized with it, and couldn't find many examples on the web.

      Does anyone has a similar setup that can point me the right direction?
      setup.jpg
      setup.jpg_thumb
      setup.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        You are right. enable advanced outbound nat. After enabling this you'll see a bunch of rules that were created for you below to simulate the behavior without enabled advanced outbound. If you delete all these rules and apply you have shut down natting completely and are running in routing only mode.

        1 Reply Last reply Reply Quote 0
        • K
          KiFFuSeR
          last edited by

          I believe I need to do that both on router A and router B, right?

          Also, after doing that, do I need more static routes on pfSense?

          I'm doing all this questions just to be sure what I'm going to do, since router B is on a top of hill and I'm going there on the weekend only.

          Thanks

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by

            You need the following routes:

            at Router A:
            Interface LAN; subnet 192.168.4.0/24; Gateway 192.168.3.1
            Interface LAN; subnet 192.168.2.0/24; Gateway 192.168.3.1

            Router pfSense:
            Interface LAN; subnet 192.168.4.0/24; Gateway 192.168.1.1
            Interface LAN; subnet 192.168.2.0/24; Gateway 192.168.1.1

            Router B doesn't need any routes as the default GW of this one is Router A

            btw, why is there a GW at your OPT1 at Router B? You only need this if this is an additional WAN and besides that the gateway isn't in the range of the OPT1-subnet. This doesn't make sense. Delete the gateway there  ;D

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