Is there a software that can act as a "proxy repeater"

2

2

Sorry for the vague title, I don't know what it's called, if even possible.

So where I am, all internet connections need to go through a HTTP proxy server, which requires authentication. I'd like to know if there is a program that is able to connect and authenticate with the server, then act as a proxy server itself (Running on localhost:8080). When I want an application to connect to the internet, I would set the proxy settings to localhost:8080, and I would not have to enter in my credentials.

Like a way to route connections through a authenticated proxy server.

Basically, I don't want to have to enter my proxy credentials for every application that needs to connect to the internet. Also some applications don't encrypt the password, which kinda annoys me

Diagram

Currently I'm using PuTTY to connect to my VPS (which isn't blocked), to create a SOCKS proxy. Then using ProxyCap, I would set the applications to connect to localhost:1080 (SOCKS proxy). However networks speeds feel slow, and I'm concerned about my VPS' "bandwidth".

I cannot directly connect to the proxy server through ProxyCap because I believe ProxyCap itself hasn't authenticated with the proxy server (and there is no option or setting to configure)

If I use aria2 (for example).

  • When connecting directly to the HTTP proxy server (Password is stored in plaintext!!!) I can get DL speeds from server X of at least 1.5MBs
  • When doing the above (PuTTY -> SOCKS -> ProxyCap) I only get about 300KBs

Andrew Wong

Posted 2015-01-08T05:40:06.347

Reputation: 93

A proxy, by definition, is a repeater. – krowe – 2015-01-08T05:48:26.497

Similar question here: http://superuser.com/questions/431316/configure-cntlm-for-proxy-requiring-basic-authentication

– nwinkler – 2015-01-08T13:22:43.867

Answers

0

Any proxy which supports "upstream" proxy can act as repeater. Try Squid. It supports parent proxy as well as authentication.

AEonAX

Posted 2015-01-08T05:40:06.347

Reputation: 441

Squid works well, except I can't have directories with whitespaces in them, which may pose to be a problem (#WindowsXP -> "Documents and Settings")

Thanks anyway, I'll have a look at nwinkler's suggestion now – Andrew Wong – 2015-01-08T12:35:10.693

Any specific reason why you need to put it in "Documents and Settings"? – AEonAX – 2015-01-09T04:02:04.610

Well I don't really want to put it in the root of the drive. And also permissions. – Andrew Wong – 2015-01-09T05:08:23.093

You can put it any folder as long as its path doesn't contain spaces. And it Only read write permissions in its folder. – AEonAX – 2015-01-09T05:45:26.980

0

We are using Cntlm for this exact purpose with a proxy that uses NTLM authentication (Windows domain). It's pretty easy to set up, runs as a Windows Service, and your password is saved encrypted.

You can download the latest installer here: http://sourceforge.net/projects/cntlm/files/cntlm/cntlm%200.92.3/

A guide for installing and configuring it can be found here: http://scottoffen.com/2013/10/29/solving-proxy-problems-with-cntlm/

I found Cntlm a bit easier to use than Squid. Squid provides more functionality, but you probably won't need that if you're only looking for the proxying part.

nwinkler

Posted 2015-01-08T05:40:06.347

Reputation: 245

Sorry, I'm not sure about what to put in the Domain setting, could you explain? – Andrew Wong – 2015-01-08T12:35:58.390

Ah, It looks like the proxy server only uses Basic authentication. Any other ideas apart from Squid? – Andrew Wong – 2015-01-08T12:58:34.737

What kind of authentication do you need? – nwinkler – 2015-01-08T13:02:20.050

Cntlm supports NTLM authentication for Windows domains. It might not be what you need - I didn't see any more specifics in your question. – nwinkler – 2015-01-08T13:03:37.387

Well when authenticating normally, I'd only enter in the proxy server, port, username and password. So regarding the Domain, I'm stumped. – Andrew Wong – 2015-01-08T13:08:18.690

It looks like the standard version of Cntlm does not support Basic Auth out of the box: http://sourceforge.net/p/cntlm/feature-requests/45/ - sorry.

– nwinkler – 2015-01-08T13:22:02.477