LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 03-25-2008, 03:53 AM   #1
wag2639
LQ Newbie
 
Registered: Mar 2008
Posts: 7

Rep: Reputation: 0
SSH via HTTP Authenticated Proxy


I want to connect to my proxy server perferably over a web interface to login and authenticate my connection. Once I've been authenticated, I want to be able to connect to our servers via SSH through the proxy server. It would be convient if I could remap the ports as well, ie. in to proxy on port 6622 and out to server A on port 22 while port 6623 is for server B on port 22.

I manage a couple of servers for my company but they have a firewall that restricts SSH (port 22) access by IP address. That's not a problem when I'm in the office, but I commute between 2 homes (dorm and actual home) and I use random IP addresses while at school. I'd like to be able setup a linux server in my office, to be a proxy server that I can connect to, let it confirm that I'm an authorized user, and then let me use it as an SSH proxy server.

Any ideas, thanks.
 
Old 03-25-2008, 01:26 PM   #2
mahmoud
Member
 
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269

Rep: Reputation: 30
try installing webmin it is quite helpful and its a web interface
 
Old 03-25-2008, 02:24 PM   #3
Findus
Member
 
Registered: Nov 2006
Distribution: Fedora 8
Posts: 64

Rep: Reputation: 15
If I understood you correctly you can do exactly what you said you wanted, just the way you described. Setup a server with ssh in your office and ssh into that box. Then you could issue a new ssh command from within the server, to connect to the computer you actually wanted to get to.

I hope this was of some help

- Findus
 
Old 03-26-2008, 12:10 AM   #4
wag2639
LQ Newbie
 
Registered: Mar 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Sorry, I wasn't very clear. After I initially login to the proxy server, I'd like to be able to use it as a transperent proxy that also remaps the ports I want conneted.

here's a better illustration.
I've got my laptop L
Got the proxy server P
And firewalled servers S and R

I'd like to talk to P from L, authenticate myself as a valid user, and then connect to S and R through P as though I was connecting directly to them, though via different ports.

I know I could set up a server in my office, ssh into that, and use that to ssh into the others, but my goal is to connect to web servers. Copying files back and forth between the "proxy" server can be quite tedious.

Thanks for the suggestions though.
 
  


Reply


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
NX (SSH) over http proxy 1N4148 Linux - Networking 10 10-22-2007 09:15 PM
Authenticated Proxy And Yast Repositories roothacker Suse/Novell 1 04-24-2007 04:10 PM
Proxy tunneling SSH over HTTP Gibsonist Linux - Networking 0 12-05-2005 04:43 AM
Connect to ssh via http proxy? jago25_98 Linux - Networking 1 04-04-2005 05:52 AM
"socks5" -> "http" proxy protocol, or ssh tunnel to sock5 ? I'm beyond http p vmicho Linux - Networking 2 12-16-2003 06:32 AM


All times are GMT -5. The time now is 06:11 AM.

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