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

    NAT Reflection and HSTS Documentation

    Scheduled Pinned Locked Moved NAT
    1 Posts 1 Posters 1.3k 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.
    • N
      NOYB
      last edited by

      HSTS is important aspect of NAT reflection.  As often as this subject comes up it would be beneficial to include information about HSTS redirection in this document section.

      "Why can't I access forwarded ports on my WAN IP from my LAN/OPTx networks"
      https://doc.pfsense.org/index.php/Why_can%27t_I_access_forwarded_ports_on_my_WAN_IP_from_my_LAN/OPTx_networks

      Perhaps include something like this:


      If NAT reflection is redirecting the browser to the https pfSense WebGUI instead of the http web site, the likely cause for this is HSTS redirection.

      The pfSense WebGUI issues a one year Strict-Transport-Security header when it is accessed via https.  This instructs the browser to force the use of https for all subsequent requests to the specified domain.  In this case, the pfSense WebGUI.

      To stop the HSTS redirection of http requests to the https pfSense WebGUI, clear the browser cookies.


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