Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


OSX SSH Redirect Port Traffic

Posted on 2010-01-11
Medium Priority
Last Modified: 2013-12-23

I've got an OS X server that has a static IP that is authorized (by ip) to connect and accept data from a master server via telnet.  (telnet remoteserver.com port 1010)

From my laptop, I think I should be able to do this, but maybe I need a vpn..

I'd like to be able to, via ssh, have my server connect and get data from the master server, but I want the data to stream back to my laptop.  So ultimately, on my laptop, if I were to telnet localhost port 1010 (or whatever), I can see the data coming in as if I were on my server doing the same thing.

This possible without a vpn to mask my ip?
Question by:ecuguru
  • 2
  • 2

Author Comment

ID: 26285428
By the way, if there is a way without ssh to do this I'm all ears.. I thought I had this working through two ssh calls, a port redirect on the server and one to it, but it closed the connection when I went to connect.
LVL 62

Expert Comment

ID: 26291056
Which connection was closed?

Author Comment

ID: 26522229
My server to the remote feed on the master server.
LVL 62

Accepted Solution

gheist earned 2000 total points
ID: 26537405
1) SSH server needs to allow TCPforwarding
2) You need to redirect local port to host:port you will connect to
3) then you connect to local port and voila!

Enable debug logging in SSH client on OSX as the firs effort.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
If you try to migrate from Elastix to Issabel, you will face a lot of issues. These problems are inevitable but fortunately, you can fix them. In the guide below, I will explain how I performed the migration while keeping all data and successfully t…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question