Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > SecureCRT on the Mac

Reply
 
Thread Tools Rating: Thread Rating: 19 votes, 5.00 average. Display Modes
  #1  
Old 11-22-2010, 12:16 AM
turpinj turpinj is offline
Registered User
 
Join Date: Nov 2010
Posts: 1
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
Reply With Quote
  #2  
Old 11-22-2010, 01:09 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
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?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 10:57 PM.