VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   SecureCRT on the Mac (https://forums.vandyke.com/forumdisplay.php?f=24)
-   -   Unable to setup port forwarding for local address (https://forums.vandyke.com/showthread.php?t=6452)

turpinj 11-21-2010 11:16 PM

Unable to setup port forwarding for local address
 
When i port forward i typically create a hosts entry for cleanliness. Ive been doing this with the windows version of securecrt for years.

I will create an an entry like so

127.0.0.7 desktop

then in the port forwarding section of my ssh connection i tell it to listen on 127.0.0.7 locally

that way i can just rdp to desktop and move along with life. I ran into some issues on the mac version. I cant connect and am looking for some insight...here's my trace


[LOCAL] : SEND[0]: SSH_MSG_CHANNEL_OPEN('session')
[LOCAL] : Unable to setup port forwarding for local address 127.0.0.7:3389. Can't assign requested address
[LOCAL] : Unable to setup port forwarding for local address 127.0.0.6:3389. Can't assign requested address
[LOCAL] : Unable to setup port forwarding for local address 127.0.0.3:3390. Can't assign requested address
[LOCAL] : SEND[0]: Pty Request (rows: 35, cols: 132)
[LOCAL] : RECV[0]: pty request succeeded
[LOCAL] : SEND[0]: shell request
[LOCAL] : RECV[0]: shell request succeeded
Last login: Sun Nov 21 21:54:31 2010 from 192.168.230.129

rtb 11-22-2010 12:09 PM

Hi turpinj,

Thanks for pointing out the difference between Mac OS X and Windows. This problem you are seeing is a limitation of Mac OS X. Windows provides 127.x.x.x for the loopback, but Mac OS X only provides 127.0.0.1. To use any other address (127.0.0.2, 127.0.0.3, etc.) you will need to manually add the interface. Here is an example command for adding an IP address:
Code:

ifconfig lo0 alias 127.0.130.65/32
You can also find more detailed information about this topic on the internet using your favorite search engine. Does this help you accomplish your goal?


All times are GMT -6. The time now is 02:18 AM.