Wednesday, March 9, 2016

How to do ssh tunnel to private network

From localhost:
ssh -L6389:localhost:389 user1@ip1

From IP1:
ssh -L389:localhost:389 user1@ip2

No comments:

Post a Comment