Go Back   The macosxhints Forums > OS X Help Requests > Networking



Reply
 
Thread Tools Rate Thread Display Modes
Old 09-11-2004, 06:12 AM   #1
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
webserver, dyndns (dynamic) and airport express.

Hi all,

I got my ibook now connected to the internet with airport express, my g-friend has an windows laptop...both perfectly on the internet.

When I just wanted to see if my dyndns was still working it didn't.
It got my internal IP-adress but it should be my external one..(I think).

Is there a way to get this to work?
Maybe by portforwarding or something?
I have no idea really how to fix this, but i need my site because i'm organising parties through my site that I run from my own computer.

tnx people!
__________________
iMac 20" 2.0GHz 2Gb 250Gb logitech mx510.
iMac 24" 2.8ghz 4gb logitech mx Revolution.
Canon 450d
FujiFilm FinePix F11
airport express 2x / extreme
Couple of ext. hd's.
iPhone
1st gen dual boot iPod
iPod Touch 8Gb
skeetone is offline   Reply With Quote
Old 09-14-2004, 04:53 AM   #2
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
hmz....is this such a stupid question that nobody will even bother answering,
Did I ask it in such a way that it doesn't make any sense,
or did nobody try this yet?
=)

l8erz.
__________________
iMac 20" 2.0GHz 2Gb 250Gb logitech mx510.
iMac 24" 2.8ghz 4gb logitech mx Revolution.
Canon 450d
FujiFilm FinePix F11
airport express 2x / extreme
Couple of ext. hd's.
iPhone
1st gen dual boot iPod
iPod Touch 8Gb
skeetone is offline   Reply With Quote
Old 09-14-2004, 06:14 AM   #3
stetner
MVP
 
Join Date: Jan 2002
Location: Brisbane, Australia
Posts: 1,106
Quote:
Originally Posted by skeetone
When I just wanted to see if my dyndns was still working it didn't.
It got my internal IP-adress but it should be my external one..(I think).

What do you mean by this? Did you try to go to your web site from the machine itself? Did you try to 'ping' it? DNS lookup?

Without knowing exactly what is failing it is pretty hard to make suggestions....

Try to outline exactly what you are trying, and provide the exact output if possible, and they say what you expected to see.
__________________
Douglas G. Stetner
UNIX Live Free Or Die
stetner is offline   Reply With Quote
Old 09-14-2004, 07:38 AM   #4
mac_man_luke
Triple-A Player
 
Join Date: May 2004
Location: Adelaide
Posts: 120
You need to get the external address from the airport express if you are using it as a router and then set the ape to forward port 80 to you internal IP address
__________________
Mac Man Luke
Widget Developer
mac_man_luke is offline   Reply With Quote
Old 09-15-2004, 06:30 AM   #5
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
Well..I get an outgoing IP address from my ntl modem from ntl. Which is something like 80.240.x.x (don't know the last few at the moment). But since I use the airport express in between the modem and my computer I have an IP now like 10.0.1.x. This is also the ip that DNSUpdate gives me now.

So when I try to surf to my site through www.exitz.kicks-ass.net (which is my site) then it can't find it.

So I only need to forward port 80 to my computer (only tcp??) and then it should work?

tnx m8's if you need more info plz let me know.

cya.
__________________
iMac 20" 2.0GHz 2Gb 250Gb logitech mx510.
iMac 24" 2.8ghz 4gb logitech mx Revolution.
Canon 450d
FujiFilm FinePix F11
airport express 2x / extreme
Couple of ext. hd's.
iPhone
1st gen dual boot iPod
iPod Touch 8Gb
skeetone is offline   Reply With Quote
Old 09-15-2004, 07:04 AM   #6
mac_man_luke
Triple-A Player
 
Join Date: May 2004
Location: Adelaide
Posts: 120
the way it works is that the airport express gets the ip that you computer used to get and then assigns every other computer on you network a private IP.

So you need to just falward port 80 to your private ip, im not sure how you do it with an airport express as i only have ever used netgear and linksys routers
__________________
Mac Man Luke
Widget Developer
mac_man_luke is offline   Reply With Quote
Old 09-15-2004, 09:20 AM   #7
stetner
MVP
 
Join Date: Jan 2002
Location: Brisbane, Australia
Posts: 1,106
Quote:
Originally Posted by skeetone
So when I try to surf to my site through www.exitz.kicks-ass.net (which is my site) then it can't find it.

So I only need to forward port 80 to my computer (only tcp??) and then it should work?

OK
Code:
$ dig www.exitz.kicks-ass.net

; <<>> DiG 9.2.2 <<>> www.exitz.kicks-ass.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 15450
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;www.exitz.kicks-ass.net.       IN      A

;; AUTHORITY SECTION:
kicks-ass.net.          1771    IN      SOA     ns1.dyndns.org. hostmaster.dyndns.org. 2015130994 10800 1800 604800 1800

;; Query time: 36 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Sep 15 23:10:32 2004
;; MSG SIZE  rcvd: 102


$ dig exitz.kicks-ass.net

; <<>> DiG 9.2.2 <<>> exitz.kicks-ass.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30391
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5

;; QUESTION SECTION:
;exitz.kicks-ass.net.           IN      A

;; ANSWER SECTION:
exitz.kicks-ass.net.    60      IN      A       10.0.1.2

;; AUTHORITY SECTION:
kicks-ass.net.          86400   IN      NS      ns2.dyndns.org.
kicks-ass.net.          86400   IN      NS      ns3.dyndns.org.
kicks-ass.net.          86400   IN      NS      ns4.dyndns.org.
kicks-ass.net.          86400   IN      NS      ns5.dyndns.org.
kicks-ass.net.          86400   IN      NS      ns1.dyndns.org.

;; ADDITIONAL SECTION:
ns1.dyndns.org.         86367   IN      A       63.208.196.90
ns2.dyndns.org.         29241   IN      A       209.69.32.137
ns3.dyndns.org.         29241   IN      A       63.209.15.210
ns4.dyndns.org.         29241   IN      A       213.155.150.205
ns5.dyndns.org.         29241   IN      A       63.208.196.91

;; Query time: 551 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Sep 15 23:11:00 2004
;; MSG SIZE  rcvd: 233
You have no DNS entry for 'www.exitz.kicks-ass.net' (no 'IN A' answer from the first dig command above), and somehow the host that does show up, 'exitz.kicks-ass.net' points to a '10.x.x.x' ip address (see second dig command above), which is an 'internal' IP address and will not get routed over the internet.

If you get the dyndns name servers to point to your public IP, 80.240.x.x and add an alias to that IP for the www host, then people should be able to surf to you IF you have your router forward port 80 to the machine you have your web pages set up on.
__________________
Douglas G. Stetner
UNIX Live Free Or Die

Last edited by stetner; 09-15-2004 at 09:21 AM. Reason: spelling
stetner is offline   Reply With Quote
Old 09-16-2004, 05:45 PM   #8
edalzell
MVP
 
Join Date: Nov 2002
Location: Vancouver
Posts: 1,188
Quote:
Originally Posted by skeetone
Well..I get an outgoing IP address from my ntl modem from ntl. Which is something like 80.240.x.x (don't know the last few at the moment). But since I use the airport express in between the modem and my computer I have an IP now like 10.0.1.x. This is also the ip that DNSUpdate gives me now.

So when I try to surf to my site through www.exitz.kicks-ass.net (which is my site) then it can't find it.

So I only need to forward port 80 to my computer (only tcp??) and then it should work?

tnx m8's if you need more info plz let me know.

cya.

Right, you need to set DNSUpdate host information to External. That way it will use the IP address of your Airport. Then you need to port forward port 80 from your Airport to your internal address.

You need to set up a static IP address on your laptop. I have my Network setting set to DHCP with Manual. Then give it a static IP address on the same subnet as the Airport, but outside the DHCP range.

Any of that make sense?
edalzell is offline   Reply With Quote
Old 09-16-2004, 10:38 PM   #9
mac_man_luke
Triple-A Player
 
Join Date: May 2004
Location: Adelaide
Posts: 120
I know netgears and linksys's have a dnsUpdate client, but it dont think the express does, and the client you have on your computer probhably cant even get out through the firewall
__________________
Mac Man Luke
Widget Developer
mac_man_luke is offline   Reply With Quote
Old 09-18-2004, 04:54 AM   #10
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
There is some sort of port forwarding in the airport express (airport admin utility) but that didn't work =(
Maybe I did something wrong..

I don't have my firewall on at the moment (the one in my ibook)...

tnx for all the help people!!
Maybe I should just contact DnsUpdate themselves or something...


tnx anyways and any extra help is still appreciated!! =)

l8erz!!
__________________
iMac 20" 2.0GHz 2Gb 250Gb logitech mx510.
iMac 24" 2.8ghz 4gb logitech mx Revolution.
Canon 450d
FujiFilm FinePix F11
airport express 2x / extreme
Couple of ext. hd's.
iPhone
1st gen dual boot iPod
iPod Touch 8Gb
skeetone is offline   Reply With Quote
Old 02-02-2005, 02:30 AM   #11
trutane
Registered User
 
Join Date: Feb 2005
Posts: 1
I have a similar setup and I was able to get things to work. Here are some details that might help.

First, the setup:

1) Host name registered at DynDNS.org for Dynamic DNS service.

2) Internet connection routed via Airport shared by local clients using DHCP.

3) Using DNSUpdate (www.dnsupdate.org) to update my IP address at DynDNS.org.

Putting it together:
* Start web server (System Prefs->Sharing-> Services, Personal Web Sharing). This also lists your machine's local network address (e.g., 10.0.1.2).

* In the Airport Admin Utility "Port Mapping" tab, add an entry like this:
Public Port=80
Private IP Address=10.0.1.2
Private Port=80

* In DNSUpdate, open File->Edit Users and (if you haven't already done this) add a user your_user_name@dyndns.org, selecting DynDNS.org as the service.

* Click Add Host to add your host name for this user if you haven't already. If so, click Edit Host. In the add/edit host dialog, the Interface should be set to "External" and Host Type should be "dyndns". The Default interface will use the local address (10.0.1.2) -- not what you want. (If you're using the DynDNS Custom DNS service, set Host Type to "custom").

* Click the "Active" checkbox for this host. If something is wrong, the checkbox will uncheck itself. If so, doublecheck all your settings.

You should now be good to go. The DNSUpdate Monitor window should now show your Registered IP as the external IP, not the 10.0.x.x internal one.

You can also confirm your Address in the /Library/Preferences/DNSUpdate/Users/your_user_name@DynDNS.org.duuser file, which is automatically updated by DNSUpdate.

HTH.
trutane is offline   Reply With Quote
Old 02-09-2005, 11:25 AM   #12
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
tnx m8 it worked! =))

Sorry for the late reply, kinda forgot this thread =))

But got my webserver online again!!!

very much appreciated!
dave.
__________________
iMac 20" 2.0GHz 2Gb 250Gb logitech mx510.
iMac 24" 2.8ghz 4gb logitech mx Revolution.
Canon 450d
FujiFilm FinePix F11
airport express 2x / extreme
Couple of ext. hd's.
iPhone
1st gen dual boot iPod
iPod Touch 8Gb
skeetone is offline   Reply With Quote
Old 04-07-2007, 03:02 PM   #13
skeetone
Major Leaguer
 
Join Date: Apr 2003
Posts: 344
just one other question.

Is it possible to also configure email addresses with @domain1.com and @domain2.com when I got the domain names and the server all working with vhosts?

tnx again people! =)
dav.
__________________
iMac 20" 2.0GHz 2Gb 250Gb logitech mx510.
iMac 24" 2.8ghz 4gb logitech mx Revolution.
Canon 450d
FujiFilm FinePix F11
airport express 2x / extreme
Couple of ext. hd's.
iPhone
1st gen dual boot iPod
iPod Touch 8Gb
skeetone is offline   Reply With Quote
Reply

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 -5. The time now is 06:25 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.