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

    Pfsense converts my website url to https

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 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.
    • R Offline
      Rickinfl
      last edited by

      Hi,

      Not sure where to post this.

      I have a pfsense box with NAT for port 80 also a Firewall rule.

      The web server is behind the pfsense box.

      pfsense 10.10.0.1
      webserver 10.10.0.99

      When I try to access the website from outside I enter http://mydomain.com  but it flips to https://mydomain.com:443 I hit accept the security then flips to 404 - Not Found.

      Not sure why pfsense is doing this, but if I connect the web server directly to the internet it works fine so it has something to do with pfsense and I just can't seem to find it.

      The NAT and Rules are:

      Rule = IPv4          TCP * 80 (HTTP) 10.10.0.99 80 (HTTP) * none
      NAT =       WAN TCP * 80 (HTTP) LAN address 80 (HTTP) 10.10.0.99 80 (HTTP)

      Thanks,
      Rick

      1 Reply Last reply Reply Quote 0
      • pttP Offline
        ptt Rebel Alliance
        last edited by

        Perhaps you need to change your pfSense webConfigurator port to other than 80 and / or disable the "webConfigurator redirect rule" (on System: Advanced: Admin Access)

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