Skip to main content
edited title
Link
GAD3R
  • 69.9k
  • 32
  • 147
  • 216

How to redirect website in restricted networnetwork through ssh tunnel

added 16 characters in body
Source Link
stdcerr
  • 2.1k
  • 14
  • 49
  • 75

I have established a reverse ssh tunnel into a restricted network to an aws server, i.e. to access it, I ssh into the aws server and from there I get access to the machine in the restricted network on some custom port.

On this restricted network, there are devices which can be configured through a web browser.

I believe I could do something like ssh -R 8080:deviceIP:80 user@aws to get it forwarded to aws machine but then I still can't access it (other than through remote X which is terribly slow). How can I pipe port 80deviceIP:80 through to my browser at home via aws?

I've tried the above ssh command and then directed the brower on my home computer to aws:8080 but that didn't load any page...

I have established a reverse ssh tunnel into a restricted network to an aws server, i.e. to access it, I ssh into the aws server and from there I get access to the machine in the restricted network on some custom port.

On this restricted network, there are devices which can be configured through a web browser.

I believe I could do something like ssh -R 8080:deviceIP:80 user@aws to get it forwarded to aws machine but then I still can't access it (other than through remote X which is terribly slow). How can I pipe port 80 through to my browser at home?

I've tried the above ssh command and then directed the brower on my home computer to aws:8080 but that didn't load any page...

I have established a reverse ssh tunnel into a restricted network to an aws server, i.e. to access it, I ssh into the aws server and from there I get access to the machine in the restricted network on some custom port.

On this restricted network, there are devices which can be configured through a web browser.

I believe I could do something like ssh -R 8080:deviceIP:80 user@aws to get it forwarded to aws machine but then I still can't access it (other than through remote X which is terribly slow). How can I pipe deviceIP:80 through to my browser at home via aws?

I've tried the above ssh command and then directed the brower on my home computer to aws:8080 but that didn't load any page...

deleted 9 characters in body
Source Link
stdcerr
  • 2.1k
  • 14
  • 49
  • 75

I have established a reverse ssh tunnel into a restricted network to an aws server, i.e. to access it, I ssh into the aws server and from there I get access to the machine in the restricted network on some custom port.

On this restricted network, there are devices which can be configured through a web browser.

I believe I could do something like ssh -R 8080:deviceIP:80 user@awsserver:22user@aws to get it forwarded to aws machine but then I still can't access it (other than through remote X which is terribly slow). How can I pipe port 80 through to my browser at home?

I've tried the above ssh command and then directed the brower on my home computer to aws:8080 but that didn't load any page...

I have established a reverse ssh tunnel into a restricted network to an aws server, i.e. to access it, I ssh into the aws server and from there I get access to the machine in the restricted network on some custom port.

On this restricted network, there are devices which can be configured through a web browser.

I believe I could do something like ssh -R 8080:deviceIP:80 user@awsserver:22 to get it forwarded to aws machine but then I still can't access it (other than through remote X which is terribly slow). How can I pipe port 80 through to my browser at home?

I've tried the above ssh command and then directed the brower on my home computer to aws:8080 but that didn't load any page...

I have established a reverse ssh tunnel into a restricted network to an aws server, i.e. to access it, I ssh into the aws server and from there I get access to the machine in the restricted network on some custom port.

On this restricted network, there are devices which can be configured through a web browser.

I believe I could do something like ssh -R 8080:deviceIP:80 user@aws to get it forwarded to aws machine but then I still can't access it (other than through remote X which is terribly slow). How can I pipe port 80 through to my browser at home?

I've tried the above ssh command and then directed the brower on my home computer to aws:8080 but that didn't load any page...

Minor edit for readability
Source Link
Chris Davies
  • 128.3k
  • 16
  • 179
  • 324
Loading
added 195 characters in body
Source Link
stdcerr
  • 2.1k
  • 14
  • 49
  • 75
Loading
added 195 characters in body
Source Link
stdcerr
  • 2.1k
  • 14
  • 49
  • 75
Loading
Source Link
stdcerr
  • 2.1k
  • 14
  • 49
  • 75
Loading