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

    Squid3, strange redirect from 80 to 443

    Scheduled Pinned Locked Moved Cache/Proxy
    6 Posts 3 Posters 1.6k 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.
    • S
      Spix
      last edited by

      Hello,

      Just installed Squid3. I want tu publish my webserver on DMZ, over port 80.

      So i created rules in squid3 from my wan-adress to my webserver on dmz.

      I created firewall rule to allow port 80 to wan address.

      BUT, no response. In the log i can se "Destination" is "my-wan-ip:443" and not "my-wan-ip:80"

      Why is this? It´s a fresh install of pfSense 2.2.1

      1 Reply Last reply Reply Quote 0
      • S
        Spix
        last edited by

        Hmm I get the same problem on another 2.2.2 -installation :/

        1 Reply Last reply Reply Quote 0
        • L
          lannet2k
          last edited by

          This will explain the error I get on email, when I open an email with web contenent it goes to port 443 instead of port 80.
          Is your Squid set as transparent ? ( as mine was when this problem start).
          thanks

          1 Reply Last reply Reply Quote 0
          • S
            Spix
            last edited by

            Hello,

            I use it as a reverse Proxy to publish my website. Not as a typical surf-Proxy.

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

              Do you have a captive portal enabled?

              See my post at https://forum.pfsense.org/index.php?topic=87280.0

              1 Reply Last reply Reply Quote 0
              • S
                Spix
                last edited by

                Hello, no I dont use captive portal. I Think this is related to the newer FreeBSD base operating system on 2.2, that it cannot listen on low ports. I get same error in HAproxy. I have disabled WebGUI redirect.

                I will try to do a forwarding rule from port 80 to a higher port i firewall rules settings

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