LITTLEBLACKDOG.COM Forum Index LITTLEBLACKDOG.COM

 
LWD LWD   FAQ FAQ   Memberlist Memberlist   Usergroups Usergroups   Active Topics Active Topics   Register Register  
  Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in  
  Who is Online Who is Online   Image Gallery Image Gallery   Chat Chat   Search Search  
  LWDGear       LBDGear  

View next topic
View previous topic
Post new topic     Reply to topic   LITTLEBLACKDOG.COM Forum Index » Networking
Author Message
squashman
Big Dog
Big Dog


Joined: 08 Oct 2001
Posts: 3484
Location: 1265 Lombardi Ave.

Post Posted: Sun Mar 09, 2003 10:46 am   Post subject: D-Link 704p Reply with quote Back to top  

I know a few of you ordered this router the other day so somebody should be able to answer this question.

I went into the the routers setup and then into Virtual Server so that I could redirect ports 80 and 22 to my Unix Server. I enabled these ports and gave them the Ip address of my unix server and restarted the router. But when I try to secure shell into my server using the my Wan Ip address, it just eventually times out.

Is there something else I need to set.

It sure would be nice if you could setup the Dynamic DNS on the router to use any Service.
View user's profile Send private message Send e-mail
Akely
Moderator
Moderator


Joined: 16 Nov 2002
Age: 42
Posts: 5927
Location: Sweden

Post Posted: Mon Mar 10, 2003 5:12 am   Post subject: Reply with quote Back to top  

I'm not sure I understand what the problem is. As I understand it you have similar troubles to mine. I'll describe my problem and how I fixed it.

After setting up firewall/router I could not connect to my www/ftp server from INSIDE the lan/firewall. the http://www.ourhouse.d2g.com adress did not work. It worked if I used http://192.168.0.2 (the IP of the server).

FIX:
This is on a Windows system, mind you.
I opened the HOST file ("hosts" it's called - with NO file type name) and looked at the settings there. This file translates adresses.

It looks like this:
# Copyright (c) 1993-1995 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows NT.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost


So I added:
192.168.0.2 ourhouse.d2g.com #internal IP - domain


NOTE: i do NOT remember right now (at work) if there have to be a www and ftp before ourhouse (see above). I think NOT.



Hope this helps!
/Akely

_________________
Can't you see?
It all makes perfect sense,
expressed in dollars and cents,
pounds, shillings and pence.
Can't you see it all
makes perfect sense?

View user's profile Send private message Send e-mail MSN Messenger
Webster
Guide Dog
Guide Dog


Joined: 16 Feb 2002
Age: 28
Posts: 8701
Location: Vacationland

Post Posted: Mon Mar 10, 2003 6:29 am   Post subject: Reply with quote Back to top  

This boggled me for a while. You need to reboot your router. The problem is, I'm not sure where there is an easy way to do that. So what I do is enable a DMZ, disable a DMZ (I don't want one after all) and then click on the reboot button, since it will only allow you to reboot after a change. Voila, problem solved.

_________________
www .Run To Win.com
The Marathon Thread
I finally published my book: Comprehensive Guide to Marathon Preparation & Recovery
View user's profile Send private message Send e-mail Visit poster's website AIM Address
squashman
Big Dog
Big Dog


Joined: 08 Oct 2001
Posts: 3484
Location: 1265 Lombardi Ave.

Post Posted: Mon Mar 10, 2003 6:43 am   Post subject: Reply with quote Back to top  

Webster wrote:
This boggled me for a while. You need to reboot your router. The problem is, I'm not sure where there is an easy way to do that. So what I do is enable a DMZ, disable a DMZ (I don't want one after all) and then click on the reboot button, since it will only allow you to reboot after a change. Voila, problem solved.


It asked me to reboot when I made the changes. At which time I did.

I can secure shell to the server using the internal Ip address but I cannot secure shell to it from outside the firewall. Which tells me the router is not doing its job by redirecting the ports to the server.

I will try and reboot the router again, when I get home.
View user's profile Send private message Send e-mail
Akely
Moderator
Moderator


Joined: 16 Nov 2002
Age: 42
Posts: 5927
Location: Sweden

Post Posted: Mon Mar 10, 2003 6:43 am   Post subject: Reply with quote Back to top  

Webster wrote:
This boggled me for a while. You need to reboot your router. The problem is, I'm not sure where there is an easy way to do that. So what I do is enable a DMZ, disable a DMZ (I don't want one after all) and then click on the reboot button, since it will only allow you to reboot after a change. Voila, problem solved.


Heh. Quite easier than my solution. If that was what it was...

Embarassed


/Akely

_________________
Can't you see?
It all makes perfect sense,
expressed in dollars and cents,
pounds, shillings and pence.
Can't you see it all
makes perfect sense?

View user's profile Send private message Send e-mail MSN Messenger
Webster
Guide Dog
Guide Dog


Joined: 16 Feb 2002
Age: 28
Posts: 8701
Location: Vacationland

Post Posted: Mon Mar 10, 2003 6:49 am   Post subject: Reply with quote Back to top  

Just tried mine, works fine the way it is supposed to.

_________________
www .Run To Win.com
The Marathon Thread
I finally published my book: Comprehensive Guide to Marathon Preparation & Recovery
View user's profile Send private message Send e-mail Visit poster's website AIM Address
squashman
Big Dog
Big Dog


Joined: 08 Oct 2001
Posts: 3484
Location: 1265 Lombardi Ave.

Post Posted: Tue Mar 11, 2003 12:26 am   Post subject: Reply with quote Back to top  

Webster wrote:
Just tried mine, works fine the way it is supposed to.


So what you are telling me is that you are able ssh into your unix server by redirecting port 22 to your unix server on the router.

I tried rebooting several times and no go. I even put the damn thing in the DMZ and I still cant ssh into the server from the internet. This is really pissing me off.

My only other choice now is to take the router out of the equation and set my server to get a dhcp address from RR. If I still cant ssh into it then I know it is the server. I dont know why it would make a difference. I can secure shell into the server from the lan.
View user's profile Send private message Send e-mail
squashman
Big Dog
Big Dog


Joined: 08 Oct 2001
Posts: 3484
Location: 1265 Lombardi Ave.

Post Posted: Tue Mar 11, 2003 1:54 am   Post subject: Reply with quote Back to top  

Sent a message to D-Link about the Dynamic Dns settings for this router. I asked them if they had any plans to update the firmware so that we could use other Dynamic DNS services on the router.

They basically said NO. Not that it is any big deal but I think we should get a big petition going to make them change it.
View user's profile Send private message Send e-mail
squashman
Big Dog
Big Dog


Joined: 08 Oct 2001
Posts: 3484
Location: 1265 Lombardi Ave.

Post Posted: Tue Mar 11, 2003 5:59 am   Post subject: Reply with quote Back to top  

Well I hooked up my server directly to the cable modem and I have no problems secure shelling into my server. The damn router just dont want to redirect those damn ports to my server. Really pissing me off.
View user's profile Send private message Send e-mail
Webster
Guide Dog
Guide Dog


Joined: 16 Feb 2002
Age: 28
Posts: 8701
Location: Vacationland

Post Posted: Tue Mar 11, 2003 7:23 am   Post subject: Reply with quote Back to top  

squashman wrote:
Webster wrote:
Just tried mine, works fine the way it is supposed to.


So what you are telling me is that you are able ssh into your unix server by redirecting port 22 to your unix server on the router.


Nope, was just saying my redirecting was working, I don't have a *nix box up and running at the moment.

_________________
www .Run To Win.com
The Marathon Thread
I finally published my book: Comprehensive Guide to Marathon Preparation & Recovery
View user's profile Send private message Send e-mail Visit poster's website AIM Address
squashman
Big Dog
Big Dog


Joined: 08 Oct 2001
Posts: 3484
Location: 1265 Lombardi Ave.

Post Posted: Tue Mar 11, 2003 7:46 am   Post subject: Reply with quote Back to top  

Oh this is great. The router is working but it wont let me in. It wont even give me a login box.
View user's profile Send private message Send e-mail
BamZipPow
Alpha Dog
Alpha Dog


Joined: 02 Aug 2001
Posts: 17977
Location: Driving EEp all over the place...

Post Posted: Tue Mar 11, 2003 1:46 pm   Post subject: Reply with quote Back to top  

Unplug the power and wait a few seconds. Plug the power back in and you should be able to log in. That happened to me once...

_________________
BamZipPow
...all yer EEps belong to Bam!

View user's profile Send private message Send e-mail AIM Address ICQ Number
beast
Big Dog
Big Dog


Joined: 04 May 2001
Posts: 3307
Location: USA

Post Posted: Tue Mar 11, 2003 4:48 pm   Post subject: Reply with quote Back to top  

Can you redirect ports to a different machine, other than the unix box?

_________________
beast
Fig Newton
: The force required to accelerate a fig 39.37 inches/sec.
View user's profile Send private message Send e-mail ICQ Number
Display posts from previous:   
Post new topic     Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
phpBB SEO
All times are GMT - 8 Hours

Help us keep advertisements off this site. Donate today!