I've been looking for a proxy server package to run on a shared hosting account with a dedicated IP that supports socks, http. The data sent between client and proxy needs to be completely encrypted, since proxy would be deployed for censorship circumvention, and data would need to be obscured. Usage scenario is one to two users, no heavy file sharing usage is planned, so bandwidth isn't a huge concern, though some type of compression would be preferable.

The account has SSH and its own SSL but no root access, Linux based OS. I've tried things like ziproxy from the terminal, only to get the following results after trying all the suggested commands:

$apt-get install ziproxy

-bash: -get: command not found

pkg_add -r ziproxy

-bash: pkg_add: command not found

$emerge ziproxy

-bash: ziproxy: command not found

I'm not massively proficient in Linux, Ideally the proxy would have management and/or setup options in a web UI, although I'm comfortable with a command prompt. I've browsed through options with SSH and tunneling etc, I'd really prefer something that could be dropped in a directory and run after a simple install/setup without having to utilize SSH every session. What are the best options for an easily deployable, secure, minimum fuss proxy server?

Edit: Wanted to clarify when I said dropped in a directory and setup then run I didn't mean a browser based web proxy.

link|improve this question
feedback

closed as off topic by Zoredache, andol, Shane Madden, sam, mailq Aug 25 '11 at 11:17

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

1 Answer

The first install command should be apt-get not $apt-get, but that will only work on servers that support apt-get installs, same with $emerge, by using the $ you're specifying the variable '$apt' should be used as the command, but with the variable $apt set to null the resultant command would be -get, you could set apt='apt' then use $apt-get but that would be pointless.

If you want an example of this, run sayhello='echo "Hello World"' then $sayhello. This sets the variable '$sayhello' to the string 'echo "Hello World"', so when you run $sayhello, the string within the variable is passed back to the console and run. If you run echo $sayhello you'll get back the echo "Hello World" command.

You can also put the output of a command into the variable, using backticks instead of quotes run

sayhello=`echo "Hello World"`

That sets $sayhello to "Hello World", because the output of echo "Hello World" is "Hello World", if you now try running $sayhello on the console you'll get an error that the command 'Hello' is not found, because it's trying to execute the command Hello World. But if you echo $sayhello the command run is echo "Hello World".

This wasn't relevant to your question, but I figured it might help you a bit

link|improve this answer
feedback

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