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

    Routing between two NATted subnets

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 2 Posters 2.3k 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.
    • U
      ussmueller
      last edited by

      Hello everyone,

      I have a problem with my pfSense box. My pfsense-router has one WAN interface and two local, NATted interfaces. The local interfaces shall route between two different private subnets (192.168.1.0/24 and 192.168.2.0/24). My PC is in the 192.168.2.0 subnet. I cannot access the 192.168.1.0 subnet unless I explicitly set a route to the 192.168.1.0 subnet with the pfsense box as gateway. Why do I need to set the additional route although the default gateway is the same? Can I add an additional rule to prevent this? NAT is bound to the WAN interface and should not interfere with the routing.

      Regards
      Thomas

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        If you configured your firewallrules correctly this should work. (It works right now here where i am).
        Could you post screenshots of your firewallrules?

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • U
          ussmueller
          last edited by

          Dear GruensFroeschli,

          thank you for your support. I have attached the 1:1 NAT rules, the firewall rules for both the 192.168.1.0/24 subnet and the 192.168.2.0/24 subnet, the outbound NAT configuration, and the virtual IP settings. Furthermore I have not set any static routes. Maybe you have an idea what could cause this problem.

          Thank you
          Thomas

          1_1_nat.png
          1_1_nat.png_thumb
          firewall_192.1.png
          firewall_192.1.png_thumb
          firewall_192.2.png
          firewall_192.2.png_thumb
          nat_outbound.png
          nat_outbound.png_thumb
          virtual_ip.png
          virtual_ip.png_thumb

          1 Reply Last reply Reply Quote 0
          • U
            ussmueller
            last edited by

            I resolved the problem. It was a wrong static route on my desktop PC.

            Regards & Thanks
            Thomas

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