Jump to content

Linux network gurus - help with an SSH tunnel


Jdiesel

Recommended Posts

Jdiesel

This is somewhat Emby related but figured I'd post here seeings as there or lots of smart people into this kind of stuff of the forum.

I was hoping on getting some help setting up a ssh tunnel between two of my servers.

Server 1 is whitelisted to connect to a service on port 9000. Server 2 is unable to connect to the service. How can I setup a ssh tunnel where all traffic over port 9000 on server 2 is passed to server 1?

Service - service.connection.domain:9000

Server 1 - "123.234.123.234"

Server 2 - "98.87.76.65"

Edited by Jdiesel
Link to comment
Share on other sites

Jdiesel

My first attempt looked like this

ssh -f user@[member="123"].234.123.234 -L 9000:service.connection.domain:9000 -N
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...