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 9.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 @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
                            • jhmc93J
                              jhmc93 @Gertjan
                              last edited by

                              @Gertjan I have pi hole set up on my isp lan with an A record pointing to my traefik reverse proxy machine on my pfsense LAN

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

                                Yes that would allow your laptop to reach the DNS server behind pfSense.

                                Though I still advise against this entirely because it will cause problems down the line. 😉

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

                                  @stephenw10 what kind of problems?

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

                                    @stephenw10 so I tried it on a test machine, so IP is different, but what have I done wrong??
                                    Screenshot_3.png

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

                                      Because it relies on the client being configured to reach it then any changes on the client may break it. And in this circumstance that would mean the client loses DNS. If Windows is updated for example.

                                      Or if you add some other client you have to remember to add the static route.

                                      I imagine I could think of at least 10 ways this could bite you. 😉 I have seen many customers with similar setups where things mostly worked until they didn't.

                                      But for that one device it should work for now.

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

                                        @stephenw10 look up, it hasn't worked unfortunately

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

                                          Ok so 192.168.0.75 is the pfSense WAN IP address?

                                          And 70.86.90.0/24 is the pfSense LAN subnet? A public /24 subnet?

                                          That seems unlikely and you previously showed it as 192.168.11.0/24.

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

                                            @stephenw10 so this is a test machine, not the actual machine that has the ip above, 70.86.90.0/24 is the test machine, 192.168.0.75 is the wan ip address as shown below
                                            Screenshot_4.png

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