Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • But this won't forward requests sent to aws:8080 to deviceIP:80 - which is utltimately what I need. Commented Nov 6, 2018 at 14:19
  • That's not what you asked Commented Nov 6, 2018 at 14:21
  • 1
    You don't pipe anything to your browser. You create a pipe, that your browser can reach, that forwards to the webserver. Commented Nov 6, 2018 at 14:24
  • 1
    @cerr What creating a tunnel with ssh -R 8080:deviceIP:80 user@aws does: 1) aws listens on port 8080 (by default, loopback interface only); 2) traffic from a connection made to aws:8080 is tunneled to your local host; 3) your local host forwards it to deviceIP:80. Commented Nov 6, 2018 at 14:58
  • 1
    @cerr I posted my own answer to clarify. Commented Nov 7, 2018 at 10:04