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

    Local DNS Records on different subnet

    Scheduled Pinned Locked Moved General pfSense Questions
    87 Posts 5 Posters 5.6k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      The pihole is being used as DNS only and it's on the WAN side. The client is resolving against that because you manually configured it to do so.

      It is resolving the traefik server to an IP address in the LAN but cannot reach it currently.

      So the destination should be the traefik server IP address in the LAN subnet.

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

        @jhmc93 said in Local DNS Records on different subnet:

        can’t do that unfortunately

        And why is that?

        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

        jhmc93J 1 Reply Last reply Reply Quote 0
        • jhmc93J
          jhmc93 @johnpoz
          last edited by

          @johnpoz so my pfsense Doesn't have a WiFi card do broadcast a WiFi signal, I probably could connect a third party router, but there's an issue with that also, the pfsense instance I have running is more of a side firewall device for my media servers. Plus the connection from the ISP router is ran through a ethernet powerline plug and then into pfsense which is in a different location.

          @stephenw10 I will try that and let you know how it goes thanks.

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

            @jhmc93 Just get a real AP, or any 20$ wifi router can be used as just an AP..

            Running wifi actually on some pfsense box would never be a good idea. Freebsd and wifi don't play nice.

            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

            jhmc93J 1 Reply Last reply Reply Quote 0
            • jhmc93J
              jhmc93 @johnpoz
              last edited by

              @johnpoz so because I says that pfsense runs off an ethernet powerline plug, I currently have 1GB connection into my home, because of pfsense being ran off the plug in a different room I've seen the max speed of 60mbps when I've ran a speed test

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

                That's pretty bad for powerline Ethernet. I've seen them pass 1G without issue. If they're new enough.

                Somethings you have to try to work-around. But somethings you don't and if you can avoid it your life will be much easier!

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

                  @jhmc93 well I would really look to correcting that.. Either different powerline adapters or best is run an actual wire.. Move pfsense if you have to, etc.

                  But why would anyone paying for gig want any devices anywhere on their network only seeing 60mbps? If it was a limit of your wifi ok, but slow wifi these days is 200mbps not 60...

                  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

                  jhmc93J 1 Reply Last reply Reply Quote 0
                  • jhmc93J
                    jhmc93 @johnpoz
                    last edited by

                    @johnpoz that's why I use my main stuff like laptop, pc, game consoles, phone, tablet etc offf my isp wifi or hardwired directly into isp router so I get the full speed, as for the pfsense side I wanted to keep that separate just for my server usage.

                    @stephenw10 I think the wiring in my house is old so it kinda slows the download speed down, as I have checked through TP Link app it talking to the other powerline plug at 253mb but slows down when hits pfsense

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

                      @jhmc93 said in Local DNS Records on different subnet:

                      other powerline plug at 253mb

                      yeah that number is like phy in wifi, your never going to actually get to that speed.

                      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 1
                      • jhmc93J
                        jhmc93 @stephenw10
                        last edited by

                        @stephenw10 I haven't resolved this issue my firewall rules are the following, this is being tried on a test machine but I'm unable to ping the machine off my laptopp on my isp router to the linux ubuntu server or connect via ssh? what am I doing wrong?
                        Screenshot_1.png

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

                          If you're still trying to connect from a laptop in the pfSense WAN subnet to a server in the LAN subnet the primary thing you need is a route to allow it.

                          That probably means adding a static route to the laptop directly. It has to be a route to the LAN subnet via the pfSense WAN address.

                          Without that the laptop will send that traffic via it;s default gateway which is the ISP router. And that probably has no idea where to route it so will either drops it or send it to the ISP... where it will be dropped.

                          jhmc93J 1 Reply Last reply Reply Quote 0
                          • jhmc93J
                            jhmc93 @stephenw10
                            last edited by

                            @stephenw10 so what your saying is I need to add a static ip to the laptop on the isp side?,
                            As u can see I did a route in that screenshot above but my laptop is getting it IP from the DHCP server on isp side

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

                              You need to add a static route to the laptop so it sends that traffic to pfSense instead of the ISP router.

                              I'm not seeing any screenshots showing routes. But to be clear that route has to be added to the laptop directly in this setup.

                              jhmc93J 2 Replies Last reply Reply Quote 0
                              • jhmc93J
                                jhmc93 @stephenw10
                                last edited by

                                @stephenw10 so how would I go about doing that?
                                Change the gateway via static IP on laptop?

                                1 Reply Last reply Reply Quote 0
                                • jhmc93J
                                  jhmc93 @stephenw10
                                  last edited by

                                  @stephenw10 is this not a route? 54b6be5c-6a87-461e-90b6-15d8421f6759-image.png

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

                                    Those are firewall rules.

                                    What operating system is your laptop running?

                                    jhmc93J 1 Reply Last reply Reply Quote 0
                                    • jhmc93J
                                      jhmc93 @stephenw10
                                      last edited by

                                      @stephenw10 Windows 11

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

                                        OK so at the Windows command prompt do something like:
                                        ROUTE -P ADD 192.168.11.0 MASK 255.255.255.0 192.168.0.100

                                        Where 192.168.11.0/24 is the pfSense LAN subnet and 192.168.0.100 is the pfSense WAN address. I don't think you ever said what the WAN address is so replace that. Earlier in the thread it looked like the pfSense LAN was using 10.84.0.0 so if it is then replace that.

                                        If you then run ROUTE PRINT in the laptop you should see that route in the table so it then knows how to reach the pfSense LAN.

                                        jhmc93J 1 Reply Last reply Reply Quote 0
                                        • jhmc93J
                                          jhmc93 @stephenw10
                                          last edited by

                                          @stephenw10 so will that allow me to access my dns records pointing to traefik on my lan side, on my isp lan?

                                          GertjanG 1 Reply Last reply Reply Quote 0
                                          • GertjanG
                                            Gertjan @jhmc93
                                            last edited by

                                            @jhmc93 said in Local DNS Records on different subnet:

                                            dns records pointing to traefik on my lan side

                                            DNS 'points' to A or AAAA addresses, TXT fleds, MX (mail server host names), CNAM (= other DNS fileds)
                                            but not to traefik ? = traffic !?

                                            No "help me" PM's please. Use the forum, the community will thank you.
                                            Edit : and where are the logs ??

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