port forwarding + westell 9100em + ssh + Mac OS X
vinhdizzo
Newbie

hi,

my goal is to get my Mac OS X laptop to be world accessible via ssh.  I turn on remote sharing on my mac, and i can ssh into it using the local ip assigned by the router.  to get the computer world-accessible, i add in TCPAny -> 22 and UDPAny -> 22 in my port forwarding options.  when i try to ssh using the global ip of the router (can be found using numerous websites to determine ip), the connection is refused.  when i check the port with other port checking sites, the connection is refused.  i tried the same for ftp, and numerous other options.  i even tried DMZ option, but the connections seems to be closed.  the only port that seems to be open is 4567, which is turned to localhost (router?) by default in the port forwarding options TCP Any -> 4567.

at first i thought it was an OS problem, but this can't possibly be it since i could ssh using the local ip.  also, same thing happens with ftp.  called verizon and they said they don't support port forwarding (customer service that is).  i asked if they block any ports, and they said no.  so problem must be the router.  does anyone know how to fix this?  i see lots of this in the forum but the solution seem to not be here.

help?!?!  this is really CRAPPY.

0 Likes
Re: port forwarding + westell 9100em + ssh + Mac OS X
dslr595148
Community Leader
Community Leader

#1 What is the DHCP Range of the router?

This is at Advanced -> IP Address Distribution.

#2 What IP Address did you try to forward to?

0 Likes
Re: port forwarding + westell 9100em + ssh + Mac OS X
vinhdizzo
Newbie

i tried to forward to 192.168.1.4, my laptop.  i first used the name of my laptop, vqnmb, and i tried it with the standard ip.

Network (Home/Office) DHCP Server 255.255.255.0 192.168.1.1 - 192.168.1.254 Broadband Connection (Ethernet) Disabled    

0 Likes
Re: port forwarding + westell 9100em + ssh + Mac OS X
dslr595148
Community Leader
Community Leader

#1 Change the range so that it is: DHCP Server 255.255.255.0 192.168.1.100 - 192.168.1.254

#2 Set a Static IP on your computer.

http://www.portforward.com/networking/static-Mac10.4.htm

#3 After yoy change the range, you can set any number BUT NOT: 0, 1, or any number above 100.

Such as 192.168.1.6

#4 In your router, forward to the IP Address that you set on your computer.

#5 Make sure the server is running, when you check the ports from the outside.

0 Likes
Re: port forwarding + westell 9100em + ssh + Mac OS X
vinhdizzo
Newbie

thanks.  before i change these configurations, i have a few questions:

1.  after setting this new range, all computers connected through ethernet or wireless will be assigned ip's in this range, correct?

2.  if i give my mac laptop a static ip, will i be able to connect to other networks?  for example, i bring my laptop to school and use both the school's ethernet and wireless network.  i also use my laptop at other places like startbucks and friend's house.  would assigning my computer a static ip NOT allow me to connect to the other networks?

thanks.

0 Likes
Re: port forwarding + westell 9100em + ssh + Mac OS X
BrianMcD
Specialist - Level 1

@vinhdizzo wrote:

thanks.  before i change these configurations, i have a few questions:

1.  after setting this new range, all computers connected through ethernet or wireless will be assigned ip's in this range, correct?

2.  if i give my mac laptop a static ip, will i be able to connect to other networks?  for example, i bring my laptop to school and use both the school's ethernet and wireless network.  i also use my laptop at other places like startbucks and friend's house.  would assigning my computer a static ip NOT allow me to connect to the other networks?

thanks.


1. Yes.  Any Computers that are set up to get a DHCP Address will use the new DHCP Range you set on the Router.

2. Yes, BUT only if you reconfigure it again to use DHCP or a valid static address at the new location.

As an alternative to setting it up with a Static Address you can try to set up a DHCP Reservation on your FIOS Router.

From an Actiontec which should be similiar to a Westell:

Logon to Actiontec

Select Advanced (Top)

Select IP Address Distribution

Select Connection List (Bottom)

Select the MAC that needs a DHCP Reservation

Select Edit (Right)

Click the Static Lease Type check Box

With this in place the MAC should always receive the same address from your Verizon Router and you can Port Forward to it.

Also here is a good site with Port Forwarding Information and Router Instructions:

http://www.portforward.com/english/routers/port_forwarding/routerindex.htm

0 Likes
Re: port forwarding + westell 9100em + ssh + Mac OS X
vinhdizzo
Newbie

no go for both methods.

i first set the range as u asked (100-249).  when i set my laptop to do static ip (*.10), i cannot access the internet at all.  i can only access the router.

the 2nd method where the static is assigned at the router, my ip was assigned 102, and i set it to static.  i then set up the port forwarding.  accessing the gobal ip via ssh gets no connection.

i really think the is the fault of the router.  any other hints or am i doing something wrong?

some questons:

why do i have to change the range 100--249?  is it because i can then assign the laptop an ip that will not get assigned?

here is a pic of the config for static ip: http://i263.photobucket.com/albums/ii156/bakinsoda/Picture1.png

if ur wondering about ipv6 i tried automatic and off.  dont know what i would do for manual.  please advise!

0 Likes
Re: port forwarding + westell 9100em + ssh + Mac OS X
vinhdizzo
Newbie

just re-read the setting up static ip on the mac, and i didnt do this:

We also need to enter the DNS servers that your computer should connect to. The easiest way to find out what dns servers to use is to give your isp a call. Just ask them what dns servers you should be using, and they will most likely give you two ip addresses to type into the DNS Servers box on this page. That is all that there is to configuring a static ip address on your Mac.

That's it you should be done! If you can't connect to the internet go back and change your configuration back to what it originally was. Remember that all of the computers on your network need to be setup like this, and every one of them needs to have a different ip address!!!!

is that necessary?  anywho, ur 2nd method doesn't work as well.

0 Likes
Re: port forwarding + westell 9100em + ssh + Mac OS X
vinhdizzo
Newbie

ok, still no go.  in entered in the dns setting, and i can now access other websites.  however, my ssh does not work still.  do u think it's the router's fault?  i have the following for the port forwarding config.  is it because TCP any is going to 4567 of the localhost (router) for everything?  this seems to be the only accessible port when i check the port.

localhost 127.0.0.1 Any Any TCP Any -> 4567 Active   192.168.1.10 192.168.1.10 Any Any SSH - TCP Any -> 22
HTTP - TCP Any -> 80 Active

0 Likes
Re: port forwarding + westell 9100em + ssh + Mac OS X
dslr595148
Community Leader
Community Leader
0 Likes