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

    NetGear(s) in AP Mode will not communicate on different LANs (Resolved)

    Scheduled Pinned Locked Moved Firewalling
    34 Posts 6 Posters 3.4k 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.
    • Z
      z71prix
      last edited by

      Both routers are setup in default AP mode. The gateways are in the pictures below, looks like gateway received from each LAN on pfsense.

      1_1548523588237_3.JPG 0_1548523588236_2.JPG

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Then it could be issue with the netgear just not wanting to allow remote access to its gui... Look to see if you can enable remote admin.

        If not since you say it works when you access it from device on that network.. Source nat it so traffic from your remote IP looks like its on that vlan... This is done in the outbound nat tab picking the interface the AP is on, vs the WAN interface.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • Z
          z71prix
          last edited by

          Hello John,

          Remote on the routers are unavailable.
          0_1548526688344_4.JPG

          I went to NAT Outbound and changed below to LAN1 and LAN2 is this what you were referring too? If so still no communication to the router APs?

          0_1548526759057_5.JPG

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by johnpoz

            Dude your natting everything your VPN.. That is most likely where your problem is!!

            Why would you not be in hybrid mode if your using a vpn?

            And you would want to setup destination on when to source nat the traffic.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • Z
              z71prix
              last edited by

              John,

              I followed instructions from someone that setup NordVPN, based on that are where these settings came from. LOL

              I want every device on LAN1 to go through VPN. LAN2 I want every device to go though WAN

              Does this look correct now based on what I described above? If so still not working.

              0_1548527746072_6.JPG

              1 Reply Last reply Reply Quote 0
              • DerelictD
                Derelict LAYER 8 Netgate
                last edited by Derelict

                You would probably want to NAT source any or source from an alias with RFC1918. At a minimum you want to NAT from LAN1 sources outbound on LAN2 and LAN2 sources out of LAN1. You also probably want to limit the NAT to just the destination of the APs.

                And, yes, you probably want to use Hybrid NAT mode and let it do the heavy lifting with you only adding the LAN1 and LAN2 rules. (Yeah, that's better in Hybrid mode.)

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                1 Reply Last reply Reply Quote 0
                • Z
                  z71prix
                  last edited by z71prix

                  I cleaned up NAT and using Hybrid
                  0_1548531473621_13.PNG

                  No VPN internet now on LAN1?

                  LAN2 internet from WAN is ok.

                  LAN1 Rules
                  0_1548531228530_12.PNG

                  I'm not sure how to setup an alisas for RFC1918, can you provide guidance? I'm so confused now.

                  1 Reply Last reply Reply Quote 0
                  • RicoR
                    Rico LAYER 8 Rebel Alliance
                    last edited by Rico

                    Navigate to Firewall > Aliases:
                    Create an alias for the RFC1918 network ranges. Call it private_networks and include the following ranges:

                    • 10.0.0.0/8
                    • 172.16.0.0/12
                    • 192.168.0.0/16

                    -Rico

                    1 Reply Last reply Reply Quote 0
                    • Z
                      z71prix
                      last edited by

                      Hello Rico,

                      Thank you for the instructions, I did make a small change due to my LANs IP addresses. correct?

                      Internet works on LAN2 however still not working on LAN1 VPN internet?

                      0_1548532288248_14.PNG

                      0_1548532296483_15.PNG

                      1 Reply Last reply Reply Quote 0
                      • Z
                        z71prix
                        last edited by

                        Got the VPN internet back on LAN1 by adding to NAT? Does this look correct?

                        0_1548533196121_16.PNG

                        1 Reply Last reply Reply Quote 0
                        • DerelictD
                          Derelict LAYER 8 Netgate
                          last edited by

                          Why did you check static port on the LAN1 and LAN2 NAT rules. Nobody told you to do that.

                          Chattanooga, Tennessee, USA
                          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                          Do Not Chat For Help! NO_WAN_EGRESS(TM)

                          1 Reply Last reply Reply Quote 0
                          • Z
                            z71prix
                            last edited by

                            Hello Derelict,

                            pfsense defaulted to static. LOL now it's corrected.

                            0_1548533881573_17.PNG

                            1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator
                              last edited by johnpoz

                              And does it work? Sniff on lan2 interface when trying to talk to lan2 AP from lan 1... Is the source IP your Lan2 interface IP.. Does the AP answer?

                              If works really no reason to sniff - but if not working they validate that pfsense is sending with source IP changed..

                              And NO pfsense does not default to static
                              0_1548534150058_notdefaultstatic.png

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              1 Reply Last reply Reply Quote 0
                              • DerelictD
                                Derelict LAYER 8 Netgate
                                last edited by Derelict

                                The only way I can see it behaving like you thought static port was the default is if you used the copy icon on one of the existing static port NAT rules for ISAKMP. Which looks to be the case baseed on the rule description. :)

                                Chattanooga, Tennessee, USA
                                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                1 Reply Last reply Reply Quote 0
                                • Z
                                  z71prix
                                  last edited by

                                  John,

                                  Still not working? What do you mean to sniff?

                                  Correct, I copied the rule and it was checked. Sorry for the false information, thanks for the correction.

                                  0_1548535356296_9.JPG

                                  DerelictD 1 Reply Last reply Reply Quote 0
                                  • DerelictD
                                    Derelict LAYER 8 Netgate @z71prix
                                    last edited by

                                    @z71prix So you are trying to connect from a host on LAN2 to an AP on LAN1 (10.1.10.104).

                                    What are the firewall rules on the LAN2 interface?

                                    Can you ping the AP instead of trying to connect to it?

                                    Chattanooga, Tennessee, USA
                                    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                    Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                    1 Reply Last reply Reply Quote 0
                                    • Z
                                      z71prix
                                      last edited by

                                      Derelict,

                                      I'm on LAN1 now and pinged router AP on LAN2 ok, however cannot connect on web interface still.
                                      0_1548535880050_10.JPG

                                      Rules on LAN2
                                      0_1548535897658_11.JPG
                                      Rules on LAN1
                                      0_1548535904209_12.JPG
                                      thank you

                                      1 Reply Last reply Reply Quote 0
                                      • DerelictD
                                        Derelict LAYER 8 Netgate
                                        last edited by

                                        Don't ping from the firewall, ping from the same host you are trying to connect from.

                                        Please stick with ONE and ONLY ONE test scenario. Bouncing between connecting to 10.1.10.104 then 10.1.20.115 only confuses the troubleshooting steps. Fix the first and you'll probably fix both.

                                        Diagnostics > Packet Capture

                                        Interface: LAN2
                                        Host: 10.1.10.104
                                        Packets: 10000
                                        Level of Detail: Full
                                        Start
                                        ping from the host you are trying to connect from. Windows default of a 4 count should be fine.
                                        Try to connect to the web interface. Let if fail.
                                        Stop the Capture
                                        Copy/paste what is there here.

                                        Then:

                                        Diagnostics > Packet Capture

                                        Interface: LAN1
                                        Host: 10.1.10.104
                                        Packets: 10000
                                        Level of Detail: Full
                                        Start
                                        ping from the host you are trying to connect from. Windows default of a 4 count should be fine.
                                        Try to connect to the web interface Let it fail.
                                        Stop the Capture
                                        Copy/paste what is there here.

                                        Chattanooga, Tennessee, USA
                                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                        1 Reply Last reply Reply Quote 0
                                        • Z
                                          z71prix
                                          last edited by

                                          Ok, I'm currently on LAN1 trying to connect to AP on LAN2 IP 10.1.20.115

                                          Here's the results:

                                          0_1548537030232_14.JPG

                                          1 Reply Last reply Reply Quote 0
                                          • DerelictD
                                            Derelict LAYER 8 Netgate
                                            last edited by

                                            I didn't ask for you to post wireshark screen shots. I asked that you copy paste what is in the packet capture on the Diagnostics > Packet Capture screen.

                                            If you want to upload the pcaps so we can bring them into wireshark, you can do that too. Need BOTH pcaps on BOTH interfaces.

                                            What I see there, however, is the AP rejecting the HTTP/1.1 GET for / - it returns nothing and disconnects the browser session. The FIN is sourced from the AP at 10.1.20.115.

                                            Chattanooga, Tennessee, USA
                                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

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