LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Does anyone have a guide for setting up SSH.Proxy server? (https://www.linuxquestions.org/questions/linux-networking-3/does-anyone-have-a-guide-for-setting-up-ssh-proxy-server-334667/)

martinj 06-17-2005 02:37 PM

Does anyone have a guide for setting up SSH.Proxy server?
 
I would like to set up a proxy server with SSH. So a proxy server to be setup to only listen to localhost:specified port and then have ssh running as a server and directing *:80 to localhost:specified port. Has anyone done something like this?
If any difference, I am on Debian 3.1

msound 06-17-2005 02:56 PM

ok so you're saying that you want to setup a proxy server that has ssh capabilities (probably so you can administer it remotely)? Or are you thinking of something different?

If you want a proxy server then you need to setup squid. www.squid-cache.org. If squid is already installed the config file should be in /etc/squid/squid.conf.

If you want to redirect all port 80 traffic to pass through the proxy (this is known as a transparent proxy), then you have to use your firewall to route all outbount port 80 traffic to pass through your proxy server port (usually port 3128 or 8080).

You should be able to find a lot of documentation on squid and transparent proxies via google. If you had something else in mind then repost and be more specific as to what exactly you want to setup.

martinj 06-18-2005 02:39 AM

I wanted some encrpyted tunneling and as well some user/pass authenciation. (This is the server PC)
I would set SSH to forward all packets joining in on port 80 to go localhost:3128.
The proxy program would only accept connections coming from localhost:3128.
Windows/Linux Laptop on none encrypted wireless
I would set putty to take all localhost:3128 traffic to be sent to my Server PC.
And have my browswer to use the proxy: localhost:3128

is this an "ok" idea?


All times are GMT -5. The time now is 08:44 PM.