Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for Proxy software, or a component or class that I can use to do basic web proxying to SSL sites as well as normal sites. The Proxy should allow me to bind and outgoing IP to each web request based on a certian criteria, such as username. Any suggestions?

share|improve this question

I don't know of any proxy software that can do such a thing, and I seriously doubt it exists at all.

Choosing the source external IP address based on some policy is a thing much more related to a firewall/NAT (and a good one, too) than to a proxy.

share|improve this answer
I managed to create a proxy like this using the socket class in .Net. The only problem I had was relaying requsts to an https site – user33121 Aug 20 '10 at 11:48
I'm quite sure it can be done. I just don't think there's any already available software that does that. – Massimo Aug 20 '10 at 12:16

maybe with a combination of ssh and iptables ?

share|improve this answer

So an HTTP proxy. But in order to extract a username from a SSL session, the ssl would need to be terminated beyond the proxy - and you'd need to rewrite any URLs in the proxied content to translate them back to http. And how do you know what username (based on the relationship between the user and the third party site) relates to which route? This is horrendous can of worms and will never work in practice regardless of the software.

Or do you mean you want specific proxy users (locally defined username) to be routed differently? If so then why not just use a combination of ident and proxy auto-configure scripts?


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.