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

    Wrong Gateway?

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 3 Posters 539 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.
    • S Offline
      Simone283
      last edited by

      Hi Guys!

      As shown on the first image I'm trying to reach from my mobile phone my printer, but as in image 2 traceroute show that the connection takes the wrong gateways

      the wan gateway instead the lan gateway, and I can't reach not even my managed switch ! The same goes for the other computer on the lan it seems that it is

      impossible to communicate between Pfsene NIC or for better say between the computer linked to the pfsense box nics. I added on the Gateways section the PFSENSE gateway

      but with no luck.

      I attached the Lan page rules and the Access point Rules just to explain better the the problem.

      Where I'm doing wrong ?

      [0_1586117288655_Pfsense configuration.odg](Uploading 100%) Pfsense configuration.png Mobile Traceroute.jpg Gateways.png Lan Rules.png AP Rules.png

      1 Reply Last reply Reply Quote 0
      • JKnottJ Offline
        JKnott
        last edited by

        I see you have multiple subnets. Do you have the appropriate routes set up among them? I'm betting the default route from the phone is to pfSense and from there to the WAN. You'll need routes to get to the LAN from the other subnets.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        1 Reply Last reply Reply Quote 0
        • S Offline
          Simone283
          last edited by

          So...do I need static routes ?
          Because I have no static route set as You can see...

          Schermata del 2020-04-05 23-29-55.png

          1 Reply Last reply Reply Quote 0
          • S Offline
            Simone283
            last edited by

            and how many gateways I need to comunicate between nics?

            192.168.1.1 Pfsense in not enough ?

            1 Reply Last reply Reply Quote 0
            • Y Offline
              YannTKO
              last edited by

              For home use and to avoid this kind of problem, you may use only one subnet.

              Netgate SG-3100 23.09.1
              Unifi UAP: 1x FlexHD + 2x nanoHD + 1x AC-IW | Unifi USW: 1x16-PoE Gen2 + 4x US-8-60W | Cloudkey Gen2 Plus
              1 x NUC8i7BEH 32Go - ESXI 8 (Pfsense + many VM)

              1 Reply Last reply Reply Quote 0
              • S Offline
                Simone283
                last edited by

                Solved !!
                Today I have studied a lot ! The solution was very simple....
                It was a problem of rules order..
                I put rule B before A...so in this way the rule B set the gateway as "WANGW" ,the default gateway, used to access to internet and in this way the following rules used always as gateway "wangw" whatever kind of rules you create. So I put first A and then B and everything solved. No need to static routes or gateway, nothing . In the A rules is important to
                put as "destination" LAN NET not "ANY" in this way the traffic goes by 192.168.30.1 the gateway for the Acces Point .
                Thats all.
                Hope that this information could be useful for others people.

                AP Rules.png

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