- I have a Debian Squeeze server, routable on the public Internet, with a static IPv4 address.
- I have unrestricted access to modify the software on the server.
- The server can listen on arbitrary ports, reconfigure firewall rules, basically there are no restrictions on what the server can be made to do.
- I can run Firefox, Java programs, .NET programs, and some native executables that don't require admin access on my local system (a locked-down Windows desktop with no admin rights).
- I can install Addons into Firefox.
- I can listen on any port on the loopback (
localhost) interface. So, aforementioned programs can bind to a local port and perform arbitrary network I/O, without going through a proxy.
- All public Internet access is routed through a restrictive HTTP proxy which blocks many sites, and does careful stateful inspection. On port 80, it allows exclusively HTTP (no TLS/SSL). On port 443, it allows
CONNECTbased SSL/TLS to remote hosts which are not blocked by domain name / IP address.
- The restrictive HTTP proxy does not perform deep packet inspection of TLS connections which are allowed through the proxy, and it does not perform Man in the Middle attacks on those connections.
- The above-mentioned server I have access to, is not blocked by the proxy.
I want to route all HTTP and HTTPS requests emitted by Firefox, through the above server, over SSL/TLS.
Other notes about the "Goal":
- Even if the endpoint site (for example,
http://superuser.com) is not using SSL/TLS to my server, I still want to use SSL/TLS from my client to my server, and have my server perform the HTTP request -- whether encrypted or not -- to my desired destination.
- I do not care if my server is looking at the SSL traffic "in the clear". In other words, I do not require full end-to-end SSL encryption from my local client, all the way to the remote server, if the remote server is being accessed by e.g.
https://google.com. In other words, I trust the server to keep my data confidential.
- I am willing to install any software or Firefox addons that do not require admin rights and can run on 32-bit Windows 7.
- Open source software is preferred over proprietary, and freeware is preferred over software requiring a license fee.
- Existing software is preferred over having to code up new software, though I am willing to write code if that is the only way.
I am looking for a loosely described "solution" that describes:
- What software would be required on the client? If there is a specific software package you are aware of, name it; otherwise, describe what the client software would have to do.
- What software would be required on the server? If there is a specific software package you are aware of, name it; otherwise, describe what the server software would have to do.
- If you named specific software packages above, describe what configuration parameters would be necessary to set it up to meet my goal.
- If for some reason you believe this is not possible, describe why.
Things I've Tried That Don't Work
squidon my server, I tried to set up a standard HTTP proxy of my own on my server. This didn't work out, because when I request websites in Firefox over regular HTTP, Firefox tries to access my server over regular HTTP, too! This is not acceptable, because the proxy on my local network can of course observe and/or block the regular HTTP traffic between my client and the server.
- VPNs don't work, not even OpenVPN over TLS listening on port 443, because I don't have the permissions on the local computer to install a
tunnetwork adapter that can perform layer 3 routing, nor can I do any sort of layer 2 routing (e.g.
tap). In short: I'd need admin rights to install OpenVPN, and even if I had those admin rights temporarily, the company would be none too pleased if they found it was installed. A Java or .NET program is much less noticeable, especially when it isn't installed in Add/Remove Programs and has no kernel driver component like OpenVPN does.