Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-25-2008, 03:53 AM
|
#1
|
LQ Newbie
Registered: Mar 2008
Posts: 7
Rep:
|
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.
|
|
|
03-25-2008, 01:26 PM
|
#2
|
Member
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269
Rep:
|
try installing webmin it is quite helpful and its a web interface
|
|
|
03-25-2008, 02:24 PM
|
#3
|
Member
Registered: Nov 2006
Distribution: Fedora 8
Posts: 64
Rep:
|
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
|
|
|
03-26-2008, 12:10 AM
|
#4
|
LQ Newbie
Registered: Mar 2008
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|