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

    DNS Resolver with Port FOrwarding

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 784 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.
    • J
      Jakeyg
      last edited by

      Hi there

      Im pretty new to all this DNS forwarding stuff.  We have been using DNS resolver instead of forwarder (i believe that is the better way to do it) for one of the machines on our network, however this is using the same port.  I have another machine on our network that i would like to redirect interally

      From the internet i use port forwarding with dyn dyns
      so say

      dynname.dyndns.com:666666
      goes to
      10.0.0.99:3454

      however im not sure how to use dns resolver to do the port redirection internally.  is that something i do in the firewall rules on the LAN interface?

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

        dns be it forwarder or resolver has ZERO to do with port forward..

        Why are you changing the port on the forward?  666,666 is not even a valid port ;)  what is running on 3454??  Why do you not just forward 3454?

        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
        • J
          Jakeyg
          last edited by

          Yeah i know its not a valid port :P

          security through obscurity.

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

            "security through obscurity.  "

            Is NOT security.. ;)

            And again dns has zero to do with ports..  And this box is internal, why would it not just go to the standard port.. It does not need nat reflection or forwarding.. Its internal.  It just need to resolve the FQDN to the rfc1918 address 10.0.0.99.  If that is the port the application normally uses you shouldn't even have to tell the application/software the port.

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.