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

    Use subdomain.mydomain.net from outside/inside network

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 1.4k 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
      JohnnyBeGood
      last edited by

      Hi all,

      I have my domain registered at noip.com and under Services -> Dynamic DNS I have setup linux.mydomain.net and that updates fine when IP changes.
      Before switching to pfSense I had same setup on my Asus RT-AC68U wireless router.
      On two of computers inside the network I had two ports open for each service:
      1. For 192.168.1.101 TCP 8888
      2. For 192.168.1.102 TCP 9999
      I was able to connect from outside my network ie. http://linux.mydomain.net:8888 and http://linux.mydomain.net:9999
      once I would get home and connected to my network I was able to use same hostname to connect.

      Now, I can't do that. It does not work. Only way it will work is if type internal IP ie. http://192.168.1.101:8888 or http://192.168.1.101:9999

      So something was translating http://linux.mydomain.net:8888 into http://192.168.1.101:8888

      Is it possible to get this somehow working again?

      TIA

      Here are ping results:

      
      Pinging linux.mydomain.net [24.18.xx.xxx] with 32 bytes of data:
      Reply from 24.18.xx.xxx: bytes=32 time<1ms TTL=64
      
      
      
      Pinging pfsense.mydomain.net [192.168.1.1] with 32 bytes of data:
      Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
      
      ```![general setup.JPG](/public/_imported_attachments_/1/general setup.JPG)
      ![general setup.JPG_thumb](/public/_imported_attachments_/1/general setup.JPG_thumb)
      ![dynamic DNS.JPG](/public/_imported_attachments_/1/dynamic DNS.JPG)
      ![dynamic DNS.JPG_thumb](/public/_imported_attachments_/1/dynamic DNS.JPG_thumb)

      I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

      1 Reply Last reply Reply Quote 0
      • D
        divsys
        last edited by

        Try turning on NAT-reflection for those port forwards.

        -jfp

        1 Reply Last reply Reply Quote 0
        • J
          JohnnyBeGood
          last edited by

          @divsys:

          Try turning on NAT-reflection for those port forwards.

          Thanks for taking time to reply!

          I went in System-> Advanced-> Firewall and NAT and set NAT Reflection mode for port forwards to "Enable (Pure NAT)"
          and deleted/added TCP 8888 in Firewall-> NAT but still no joy :(

          Any other suggestions?

          I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

          1 Reply Last reply Reply Quote 0
          • D
            divsys
            last edited by

            Did you check to see the reflection state in the NAT rule you previously created?

            There was a scenario I ran into where I had to reset the reflection state of a pre-existing rule manually before it would grab the system default state.
            It may be worth trying the four different states manually just for test purposes.

            You might also check the firewall logs to make sure there isn't another rule blocking before it hits the NAT passthru.

            -jfp

            1 Reply Last reply Reply Quote 0
            • J
              JohnnyBeGood
              last edited by

              Its working now with "Enable (NAT + Proxy)"
              Thank you!
              I do now have proxy running what does that option mean?

              edit.jpg
              edit.jpg_thumb

              I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

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