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

    No Internet from WIFI connection on Router from 2nd LAN subnet

    General pfSense Questions
    3
    45
    5.4k
    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.
    • ?
      A Former User
      last edited by A Former User

      Hi everyone,

      I have 3 physical interfaces on my pfsense box.

      WAN
      LAN = 10.1.10.0/24 , interface ip4v = 10.1.10.1/24
      DEVICES_LAN = 10.1.13.0/24, interface ipv4 = 10.1.13.1/24

      DEVICES_LAN just has an ASUS router with DHCP enabled connected to it (Connected to the non-WAN port on the router). This will just be for connecting cameras, smart devices, game consoles, etc.

      When I connect to the wifi from the router on DEVICES_LAN using my smartphone, it never gets internet. It will get the correct LAN IP in the 10.1.13.0/24 subnet.

      Below are the ASUS router details I configured and firewall/NAT rules. Do you guys see what the issue is? The only thing I can think of is maybe my DNS or default gateway is wrong but I just playing around with it to no success.

      Router LAN IP:

      094b9358-dde2-4004-b7a3-71b549f6624e-image.png

      Router DHCP Server:

      30d68279-e9af-4403-acc9-9bcb9bd7cce0-image.png

      PFSENSE FIREWALL:

      2ae3ed12-ccd6-47fc-8d82-f4c46f52f65e-image.png

      PFSENSE OUTBOUND NAT:

      8272691a-986b-438e-8141-e5a0e2fe3288-image.png

      Thank you for your help and let me know if you need any other information. I'll continue playing around and update if I find the fix.

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by A Former User

        hmm, I changed the DNS server to an eternal one 8.8.8.8 and internet is working! (I'm pretty sure I tried this before and it didn't work but maybe I changed another setting inbetween that time).

        Not sure if that is proper though.. Does this mean it is skipping over my security in the firewall like pfblockerng?

        1 Reply Last reply Reply Quote 0
        • M
          marvosa
          last edited by marvosa

          Assuming you're using the resolver, my guess is you need to add an ACL to allow queries from the 10.1.13.0/24 subnet. Also, you need to verify that the resolver is listening on the "DEVICES_LAN" interface.

          And yes... using 8.8.8.8 will send your client's queries to google which will bypass any security settings, filtering, DNSBL, etc being leveraged by the resolver.

          ? 2 Replies Last reply Reply Quote 0
          • ?
            A Former User @marvosa
            last edited by

            @marvosa Thank you, I will try that. I am indeed using DNS resolver. I believe it is listening to all interfaces/networks right now.

            I'll report back on my results!

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by A Former User

              @marvosa That worked! I added the ACL for 10.1.13.0/24 and then I set the DNS server as 10.1.13.1 (the ip of my Device_LAN interface on pfsense. Thanks marvosa!

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User @marvosa
                last edited by

                @marvosa Interesting, actually I don't think I needed the ACL. I deleted it and internet it still working. Maybe I just needed to change the DNS server to 10.1.13.1.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Yeah, I'm not sure why you set it to 10.1.10.1 initially? By default it would use the interface IP, 10.1.13.1 in this case.
                  I'm not sure that last time I tested something like that but it expects queries to come from IPs in the same subnet.

                  Is there any reason you're not using pfSense as the dhcp server for that subnet?

                  Steve

                  ? 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @stephenw10
                    last edited by

                    @stephenw10 Hey Steve! I'm not sure why I did that either..lol.

                    In regards to using pfSense as my DHCP for the subnet - no reason really, I thought i'd just set the ASUS router to be the DHCP server and separate it from my pfSense box. Would you say that is more or less secure? (or better or worse).

                    I can change pfSense to my DHCP for that subnet, if you guys think its better/more secure. On my other subnet my windows server is the DHCP server for the 10.1.10.0/24 subnet.

                    Thanks!

                    1 Reply Last reply Reply Quote 0
                    • M
                      marvosa
                      last edited by marvosa

                      @techgeek055 said in No Internet from WIFI connection on Router from 2nd LAN subnet:

                      I can change pfSense to my DHCP for that subnet, if you guys think its better/more secure. On my other subnet my windows server is the DHCP server for the 10.1.10.0/24 subnet.

                      Personally, I like to manage all my scopes in one place. So, if you already have Windows Server providing DHCP on another subnet, I would disable DHCP/DNS on your ASUS, create a new scope on your Windows server and then enable DHCP relay on the "DEVICES_LAN" interface and point it at your windows server. This way your Windows Server will provide DHCP for both segments of the network and both scopes will be centrally managed.

                      ? 2 Replies Last reply Reply Quote 0
                      • ?
                        A Former User @marvosa
                        last edited by A Former User

                        @marvosa I would love to do that! Althought the last time I tried, I failed. I will give it another try with your pointers. Hopefully it goes well :(

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @marvosa
                          last edited by

                          @marvosa I added the DHCP relay on my 10.1.13.1 interface and pointed it to my 10.1.10.8 dhcp server, disabled dhcp server option on my asus router but wifi just hangs on "Obtaining IP Address..."

                          Are there any other settings you can think of that I may need to configure?

                          1 Reply Last reply Reply Quote 0
                          • M
                            marvosa
                            last edited by marvosa

                            A few things I can think of:

                            • Verify that the DHCP relay is bound to the correct interface
                            • Verify the LAN interface has firewall rules to allow communication to the DEVICES_LAN interface
                            • Verify the new scope is active on your Windows Server

                            After verifying the above, either reboot or do an ipconfig /release and ipconig /renew on all your clients or they will continue to contact the last DHCP server they previously connected to until 1/2 the lease expires.

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User
                              last edited by

                              Confirmed that:

                              1. DHCP relay is on my Devices_LAN

                              2. LAN Firewall is currently allowing everything
                                bc69ba9a-3ca0-4de5-85a5-efe27c58ab4f-image.png

                              3. 10.1.13.0 / 24 scope is active on the DHCP on windows server with below settings:
                                f8a8ef6a-1dad-4e9e-8a33-f0743bd07fa4-image.png

                              Still getting stuck on the "Obtaining IP address" stage" even after rebooting my smartphone.

                              Im beginning to think my DHCP server on the windows server is broken some how....I may consider/try re-installing the DHCP role..

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                marvosa @A Former User
                                last edited by marvosa

                                @techgeek055

                                My apologies, one thing I made an assumption that you knew about and forgot to mention is, disabling those services on the ASUS is the manual way of turning your wireless router into an AP. After that, you have to move the patch cord that's currently plugged into the WAN port and move it to one of your LAN ports. ASUS on the other hand, has an AP mode, which disables the previously mentioned services automatically, however, you still have to move the patch cable into one of the LAN ports on the ASUS. Was this done?

                                Also, notice that your LAN net/any rule does has no hits. The rules are parsed top-down so all of your traffic is being matched on the 2nd rule and being routed down the VPN, which I'm sure is also contributing to the issue. I would need to see the routing table, but you may need to add a LAN net/DEVICES_LAN rule that routes traffic using the routing table and place it above that 2nd rule. However, we need to make sure that dhcp traffic is making to PFsense first... hence moving the physical connections on the ASUS.

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User
                                  last edited by

                                  No worries, I appreciate your help to the fullest!

                                  My ASUS router was already plugged into one of the LAN ports. I have now switched the router to AP mode.

                                  I completely removed and re-installed my dhcp server but that didn't seem to fix anything :D

                                  I made new LAN rule like this:

                                  50f1d9f9-cde3-4a8e-9e53-5fd0e25a9b67-image.png

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    marvosa @A Former User
                                    last edited by

                                    @techgeek055 Swap rules 2 and 3.

                                    ? 2 Replies Last reply Reply Quote 0
                                    • ?
                                      A Former User @marvosa
                                      last edited by

                                      @marvosa My bad.

                                      I have it like this now but smartphone still stuck trying to obtain in ip address:

                                      b731f12c-b486-4e62-be33-77f5739e2b1f-image.png

                                      I noticed by DHCP server has the IP helper service not started. I don't think that is causing this issue by i'll try re-enabling it..

                                      6d66d435-fcf2-4578-aa26-d2cb31870612-image.png

                                      1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @marvosa
                                        last edited by

                                        @marvosa doesn't look like starting the IP helper fixed it either :/

                                        My DHCP server is connected to a switch, and the switch is connected to the 10.1.10.0 LAN interface on pfsense, don't think that makes a difference though..

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          marvosa
                                          last edited by marvosa

                                          Do you have a laptop you can troubleshoot with? I think we need a little more insight as to what's happening on the client.

                                          Also, can you post a network map so we have a little more insight as to your network design? Since I haven't heard anything about VLANs, my assumption is you have 3 NIC's in your PFsense box... 1 for WAN, 2 for LAN... and two different switches... one connected to each LAN interface. That's my assumption, but I'd like to get a more accurate picture from you.

                                          For grins and giggles, disable the windows firewall on your server and try a few clients. If things miraculously start working, you'll have to add some exceptions in the firewall or leave it disabled.

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            marvosa
                                            last edited by

                                            @techgeek055 After some research, it looks like what we need to do is go back into DHCP relay, hold ctrl and highlight the LAN interface so both LAN and DEVICES_LAN are highlighted and hit save.

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