Jump to content

SSH port forwarding


nemo_nihil
 Share

Recommended Posts

Let me start by explaining the goal. I am at my university and I would like to reverse ssh to connect to certain services remotely. I have an EC2 instance that is acting as my server.

On to the problem. When I ssh to my server like this:

ssh -R 9091:localhost:9091 [username]@[serverip]

and at the same time configure firefox and do this:

ssh -D 8080 [username]@[serverip]
I can connect to the service running on localhost:9091. However when I point my web browser to [serverip]:9091. If someone could explain what I am doing wrong that would be wonderful.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...