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

    Cannot access device in LAN2 from LAN, no apparent fw rule in action

    Scheduled Pinned Locked Moved Firewalling
    12 Posts 4 Posters 1.0k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      What are you using for AP.. If some soho router just using as AP many of them do not allow for setting a gateway on their lan interface.  So you would need to use some 3rd party firmware on it that allows for that.  Or you would have to source nat your traffic so AP thinks traffic is from its local network 10.0.1

      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
      • P
        Pontiac_CZ
        last edited by

        It's TP-LINK TL-WR702N.

        You are probably right with the missing gateway setting. It's really not there. I tried changing the LAN interface static IP address to DHCP assigned hoping that pfSense would give it the gateway IP as well. But that did not help.

        I am just wondering how come it used to work since I have that bookmark in my browser…  :o

        TP-LINK_LAN.png
        TP-LINK_LAN.png_thumb
        TP-LINK_working_mode.png
        TP-LINK_working_mode.png_thumb

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

          I am just wondering how come it used to work since I have that bookmark in my browser…  :o

          Were you accessing it from the 10.0.1.0/24 network at the time?

          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
          • P
            Pontiac_CZ
            last edited by

            No, always from my PC with IP 10.0.0.39.

            FYI - the screenshots now taken using laptop connected to the AP.

            1 Reply Last reply Reply Quote 0
            • V
              viragomann
              last edited by

              A workaround for your issue would be a source-NAT rule translating source IPs of packets destined to the AP to the interface address. You can do this by an outbound rule in pfSense.

              1 Reply Last reply Reply Quote 0
              • P
                Pontiac_CZ
                last edited by

                I studied the documentation about how outbound NAT works but I have troubles with understanding.

                The outbound NAT documentation (https://doc.pfsense.org/index.php/Outbound_NAT) says: "Outbound NAT does not control which interface traffic will leave, only how traffic is handled as it exits."

                So if I get it right, when connecting the AP I need to have the source address of my packets translated to the pfSense LAN2 interface so the AP can reply to an address inside its subnet. That way it does not need a gateway.

                I set it up as you can see in the attached screenshot but still cannot connect with the AP.

                2017-10-17_pfSense_outbound_NAT.png
                2017-10-17_pfSense_outbound_NAT.png_thumb

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

                  Your source nat is not enabled.. Its grayed out.

                  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
                  • P
                    Pontiac_CZ
                    last edited by

                    I noticed that too but the rule does not seem to be disabled…(?)

                    2017-10-17_rule_enabled.png
                    2017-10-17_rule_enabled.png_thumb

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

                      Well your in automatic mode, not hybrid mode!

                      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
                      • P
                        Pontiac_CZ
                        last edited by

                        That was it, thank you.  :) I've set it to hybrid and instantly regained the communication with my AP which does not support gateways! It's been a great lesson about using outbound NAT in pfSense.

                        Thank you all very much for help!

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