• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 965 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 Oct 19, 2022, 7:56 AM

    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

    B 1 Reply Last reply Oct 19, 2022, 9:07 AM Reply Quote 0
    • B
      Bob.Dig LAYER 8 @uglyxiaodi18
      last edited by Oct 19, 2022, 9:07 AM

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

      U 1 Reply Last reply Oct 19, 2022, 10:02 AM Reply Quote 0
      • U
        uglyxiaodi18 @Bob.Dig
        last edited by Oct 19, 2022, 10:02 AM

        @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

        B 1 Reply Last reply Oct 19, 2022, 10:05 AM Reply Quote 0
        • B
          Bob.Dig LAYER 8 @uglyxiaodi18
          last edited by Bob.Dig Oct 19, 2022, 10:07 AM Oct 19, 2022, 10:05 AM

          @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 Oct 21, 2022, 8:25 AM Reply Quote 0
          • U
            uglyxiaodi18 @Bob.Dig
            last edited by Oct 21, 2022, 8:25 AM

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

            G 1 Reply Last reply Oct 21, 2022, 9:18 AM Reply Quote 0
            • G
              Gertjan @uglyxiaodi18
              last edited by Oct 21, 2022, 9:18 AM

              @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
              1 out of 6
              • First post
                1/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received