Ssh to remote access point http server | Unix Linux Forums | IP Networking

  Go Back    


IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

Ssh to remote access point http server

IP Networking


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-11-2013
metallica1973 metallica1973 is offline
Registered User
 
Join Date: Dec 2007
Last Activity: 19 December 2014, 4:58 PM EST
Location: Washington D.C
Posts: 181
Thanks: 17
Thanked 2 Times in 2 Posts
Ssh to remote access point http server

I need to do some remote administration to an access point that is sitting behind a firewall that only has ssh enable from the outside but http/https from the inside. So to be a bit clearer:

Code:
remote(outside firewall) ssh --> ssh-server(internal) --> access point(http/https)

Ultimately accessing the AP gui from my desktop. Is this possible?
Sponsored Links
    #2  
Old 06-11-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 21 December 2014, 1:06 AM EST
Location: Saskatchewan
Posts: 20,040
Thanks: 855
Thanked 3,458 Times in 3,230 Posts
It should be possible to connect, but I don't know if it will work... Things like absolute URL's may foul it up. Simple enough to try:


Code:
ssh -L 80:accesspoint:80 -L 443:accesspoint:443 username@ssh-server

Root access will be needed to use ports 80 and 443. Once logged in, you can point your web browser to 127.0.0.1 and see if it cooperates.

Usually you'd use a web proxy for this sort of thing. tinyproxy is a simple and easy one for temporary applications. You can force a hostname to point at a particular address by putting it in /etc/hosts but don't forget it's there...

Last edited by Corona688; 06-11-2013 at 03:32 PM..
Sponsored Links
    #3  
Old 06-12-2013
metallica1973 metallica1973 is offline
Registered User
 
Join Date: Dec 2007
Last Activity: 19 December 2014, 4:58 PM EST
Location: Washington D.C
Posts: 181
Thanks: 17
Thanked 2 Times in 2 Posts
I have one word to say "awesome"

Many thanks
    #4  
Old 06-12-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 21 December 2014, 1:06 AM EST
Location: Saskatchewan
Posts: 20,040
Thanks: 855
Thanked 3,458 Times in 3,230 Posts
I take it my advice worked? Which method did you use?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Access to Remote tty cli via ssh metallica1973 UNIX for Advanced & Expert Users 5 01-10-2013 05:15 PM
Sending and Receiving data between Client, HTTP Proxy, and Remote Server shubham92 Programming 0 05-14-2012 12:36 AM
Can a script runned in local server access remote server? luna_soleil Shell Programming and Scripting 3 02-26-2009 05:38 PM
Access environment variables on remote host using ssh brendan76 Linux 3 02-13-2009 12:42 PM



All times are GMT -4. The time now is 08:45 AM.