Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What is an easy way to setup authenticated HTTP or SOCKS proxy on Ubuntu Natty? None of the simple proxy servers (e.g. tinyproxy) support authentication and I could not seem to get dante working.

share|improve this question

2 Answers 2

OpenSSH has built-in support for SOCKS proxies.

ssh -D 8080 <proxy_server>

Then within your application set the SOCKS proxy server to localhost with port 8080.

share|improve this answer
    
I am trying to run a proxy server, not connect to one. –  user492922 Jul 7 '11 at 12:53
    
... and it should be able to connect to it from a standard web browser. –  user492922 Jul 7 '11 at 12:53
    
@user492922 This makes use of OpenSSH's support for dynamic port redirection so that traffic can be tunneled through the ssh connection. It can be used with any application that supports SOCKS v4 or v5 proxies. –  Scott Pack Jul 7 '11 at 13:13
    
I am trying to create <proxy_server> not connect to it. –  user492922 Jul 9 '11 at 10:26

Authentication is trivial to set up in squid. Did you try that?

share|improve this answer
1  
I was hoping for something more trivial to configure than squid. –  user492922 Jul 7 '11 at 12:56

Your Answer

 
discard

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.