Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-17-2005, 03:37 PM   #1
LQ Newbie
Registered: Jun 2005
Distribution: Debian 3.1
Posts: 28

Rep: Reputation: 15
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
Old 06-17-2005, 03:56 PM   #2
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
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. 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.
Old 06-18-2005, 03:39 AM   #3
LQ Newbie
Registered: Jun 2005
Distribution: Debian 3.1
Posts: 28

Original Poster
Rep: Reputation: 15
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?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH connection through companies proxy server rydl Linux - Networking 2 10-26-2005 10:08 AM
Setting up a Linix Server as a proxy server Bill Fox Linux - Software 2 01-31-2005 10:38 PM
setting up proxy server utsav_verma Linux - Newbie 1 04-10-2004 12:30 AM
ssh/scp via a windows proxy server saleemlqorg Linux - Networking 2 01-09-2004 06:57 PM
how to ssh to Linux server via Win2K proxy wkuk Linux - Networking 2 04-23-2003 06:03 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration