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

    [SOLVED] Cannot access server that resolves to Firewall WAN IP from behind the f

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 483 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.
    • D
      dwayne
      last edited by

      I have server (SERVER1) behind my pfSense firewall (FIREWALL). I have setup NAT Port Forward such that all traffic (ports 80 and 443) are forwarded to SERVER1. FIREWALL is expose to the world as myfirewall.com.

      From SERVER, i can curl (or wget) any server (as expected). Example: wget https://google.com
      From any server outside of the firewall, i can wget myfirewall.com.
      The problem is, from SERVER1, when perform wget myfirewall.com, it hangs.

      I'm assuming this is because I cannot make an outbound request to a server that ends up resolving back to the same FIREWALL server?

      Thanks for your help,
      Dwayne

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

        This was resolved using this article: https://doc.pfsense.org/index.php/Why_can%27t_I_access_forwarded_ports_on_my_WAN_IP_from_my_LAN/OPTx_networks

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

          Thanks Dwayne.

          I had a similar issue; on my work computer, while connected to my employer's VPN, any attempts to access my local resources by URL failed; the traffic was redirected to the pfSense login screen instead.  This was close enough to your problem that I thought your link might help me solve the problem, and it did.  NAT reflection was what was needed.

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