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

Redirect to https

Scheduled Pinned Locked Moved Firewalling
6 Posts 4 Posters 1.7k 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.
  • G
    gigaforall
    last edited by Mar 30, 2013, 7:53 PM

    is there a way to redirect a specific site to https even if the clients behind pfsense requested the http edition, there is a firefox plugin "SSL everywhere" that does that for specific sites, I would like to have that on my installation, like http://www.wikipedia.org forced to https://www.wikipedia.org .
    PS: I use bind for DNS and squid for proxy.

    Thank you

    1 Reply Last reply Reply Quote 0
    • N
      Nachtfalke
      last edited by Mar 31, 2013, 6:34 PM

      If you use a proxy and you proxy http and https traffic you can try with the "rewrite" rules and rewrite http sites to https sites. This "could" work. The problem is that proxying httpS sites you cannot use transparent proxy.

      1 Reply Last reply Reply Quote 0
      • G
        gigaforall
        last edited by Apr 4, 2013, 4:04 PM

        @Nachtfalke:

        If you use a proxy and you proxy http and https traffic you can try with the "rewrite" rules and rewrite http sites to https sites. This "could" work. The problem is that proxying httpS sites you cannot use transparent proxy.

        I tried to do so, but didn't have luck in forwarding to https, and I couldn't understand why the https should be proxied since the request were http, squid reads the http request-> rewrites into https -> and now the browser handles the request directly, like when the site force you to be forwarded to the https edition "like when loging in", anyhow can anyone think of another way? thank you.

        1 Reply Last reply Reply Quote 0
        • C
          craigduff
          last edited by Apr 4, 2013, 7:40 PM

          Are you hosting the sites yourself? Or are they public websites?

          Kind Regards,
          Craig

          1 Reply Last reply Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator
            last edited by Apr 4, 2013, 7:49 PM

            you do understand that NOT all sites are available via https - so sounds like what your wanting to do would break most of the internet for your users.  Any site that is not https would not work.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • C
              craigduff
              last edited by Apr 7, 2013, 10:31 AM

              LOL

              Kind Regards,
              Craig

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received