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

    Unable to access my ipv4 public address from private network

    Scheduled Pinned Locked Moved NAT
    6 Posts 3 Posters 971 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.
    • U
      uglyxiaodi18
      last edited by

      Dear Team,

      public ipv4 : 128.106.124.50
      sub domain : test.abc.com

      I have created NAT to redirect traffic from my public ipv4 port 7000 to my VM in private network.

      Previously I cant access my subdomain within my VM in private network . And by adding Host override in DNS Resolver , I'm able to access my subdomain.

      I have created another NAT rules to redirect traffic from my public ipv4 port 7200 to another VM in private network.

      However I cant access my public ipv4 (http://128.106.124.50:7200) , any advise ?

      Thank you

      Bob.DigB 1 Reply Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8 @uglyxiaodi18
        last edited by

        @uglyxiaodi18 https://forum.netgate.com/topic/175055/private-network-vm-unable-to-access-public-ip-address

        U 1 Reply Last reply Reply Quote 0
        • U
          uglyxiaodi18 @Bob.Dig
          last edited by

          @bob-dig

          I have solved using host override in DNS resolver.

          however this time round is the ip address instead of hostname/domain name.

          Any advise?

          Thank you

          Bob.DigB 1 Reply Last reply Reply Quote 0
          • Bob.DigB
            Bob.Dig LAYER 8 @uglyxiaodi18
            last edited by Bob.Dig

            @uglyxiaodi18 The only advice there is was already given to you. If you want it working with IP, enable NAT reflection (Pure NAT) in that portforward or in general.

            U 1 Reply Last reply Reply Quote 0
            • U
              uglyxiaodi18 @Bob.Dig
              last edited by

              @bob-dig
              I have tried in the same port forwarding rules , choose pure NAT under NAT reflection.
              however it still does not go through

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

                @uglyxiaodi18

                I presume that you want to connect from a LAN device to another LAN device, or a device on another LAN(OPTx).
                Why do you think or need to do this using the WAN IP ??

                Btw : for many users, the WAN IP can change very often ...

                I can access several local (LAN based) devices from my LAN, using a local device on the same LAN, or another LAN, all behind pfSense.

                When I'm on the road, I can use the exact same host name, and connect to my device just fine.

                Never had to use "Pure NAT" or some like that.
                True, a simple classic NAT rule is needed for my IPv4 devices, so I can connect when I'm on the road.

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

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