• Forum
  • About
  • Archives
  • Categories
  • Archive for May, 2010

    Squid Proxy SSL HTTPS non standard ports


    2010 - 05.07

    It’s amazing at how elusive some of the simplest things can be. For a few days I’ve struggled to work out why I can’t proxy to non-standard SSL/HTTPS ports using Squid.

    Well it turns out that I either didn’t look close enough at the config file, or there’s a serious lack of documentation on this matter. Maybe a little of both (and I tried the IRC channel for #squid on Freenode, idlers galore!).

    Well, it’s this simple: I want to connect to a new HTTPS server which I have set the port to as 4444 for Exchange OWA. Squid will give you a configuration error or a not allowed message when you try to proxy to any port other than 443 which is the standard allowed SSL.

    To fix this, add your port to the line in the config file:

    acl SSL_ports port 443

    so it becomes

    acl SSL_ports port 443 4444

    /etc/init.d/squid3 reload

    That’s it, job done.

    Exchange 2007 OWA on non standard port


    2010 - 05.06

    I don’t know about you, but I’m planning on removing my old Exchange and I can’t be bothered to flap about backend and front-end, redirects and all that crap. As I move my users from 2003 to 2007 I want a nice easy transition. Outlook does this fine and copes, but obviously OWA changes.

    Rather than worry about certificates, I decided just to open up another port for external and push that through to the new Exchange server. To do this, do the following:

    1) On your Router, go to NAT and set port forwarding to be external port 4444 to go to your Exchange servers IP and port 443.

    2) On your MSExchange server, open IIS Admin, right click “Default Web Site”, properties. Set the HTTPS port to 4444. Apply, OK. Fire up a CMD window and type “iisreset /restart /noforce”.

    3) Open Exchange Management Console, Server Configuration, Client Access, choose the server in the top pane and then open the properties of OWA in the bottom pane. Set the External URL to https://your_ip:4444/owa

    Click Apply, OK.

    That’s it, you should now be able to navigate to your external IP/owa on port 4444 and open mailboxes on that exchange box without a hitch.