Title: Explaination of Port Forwarding
1Explaination of Port Forwarding and Dynamic DNS
2Here's a simple Home network setup...
3Here's a simple Home network setup...
A Home Computer with an IP address given to it by
the router. 192.168.1.100
4Here's a simple Home network setup...
or DSL Modem
A Home Computer with an IP address given to it by
the router. 192.168.1.100
5Here's a simple Home network setup...
The router acts as a gatekeeper between your
network or INSIDE network
or DSL Modem
A Home Computer with an IP address given to it by
the router. 192.168.1.100
6Here's a simple Home network setup...
And the internet or Outside Network
or DSL Modem
A Home Computer with an IP address given to it by
the router. 192.168.1.100
7Here's a simple Home network setup...
The Router allows network Traffic out
or DSL Modem
A Home Computer with an IP address given to it by
the router. 192.168.1.100
8Here's a simple Home network setup...
The Router allows network Traffic out But
Restricts Network Traffic in
X
or DSL Modem
A Home Computer with an IP address given to it by
the router. 192.168.1.100
9However, What if we decide we want to host a
webcam that the world can look at?
or DSL Modem
A Home Computer with an IP address given to it by
the router. 192.168.1.100
10However, What if we decide we want to host a
webcam that the world can look at?
or DSL Modem
A Home Computer with an IP address given to it by
the router. 192.168.1.100
11(No Transcript)
12(No Transcript)
13(No Transcript)
14(No Transcript)
15(No Transcript)
16(No Transcript)
17(No Transcript)
18So what we need to do is tell the router that any
request from the outside world that wants to see
something on port 80... needs to be
forwarded' to the camera.
Port forwarding rule Send all port 80 requests
to 192.168.1.222
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
19OK great! Port 80 requests can now get into our
home network past the router and to the
camera..... but.. remember those public and
private ip addresses? Our cable modem has a
public ip address and guess what? Those change
occasionally from your Internet provider. You
just Borrow an ip address for a short time
then they change it. This is known as an Ip
address LEASE. Most of the time you don't even
need to know your Public ip address.
76.112.52.XXX
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
20So now... how do we get people to our camera with
an ip address that's gonna change? That what
Domain names were invented for. A domain name is
Basicly a TAG that makes it easy for humans to
remember. Think if it like this... what if you
could dial your friend's name instead of having
to remember his phone number... that's basicly
what a domain name does...
76.112.52.XXX
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
21Thats where the router's DDNS settings come
in.. the router sends it's current public ip
address to a central server and that server
assigns a name to it so people can type
wxoakland.dyndns.org instead of 76.112.52.XXX.
The DDNS service translates that static
domain name into whatever ip address your router
happens to have at the moment
DYNDNS.ORG
76.112.52.XXX
Hey my public ip address is 76.112.52.xxx. Link
it to my domain name
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
22Thats where the router's DDNS settings come
in.. the router sends it's current public ip
address to a central server and that server
assigns a name to it so people can type
wxoakland.dyndns.org instead of 76.112.52.XXX.
The DDNS service translates that static
domain name into whatever ip address your router
happens to have at the moment
DYNDNS.ORG
OK!
76.112.52.XXX
Hey my public ip address is 76.112.52.xxx. Link
it to my domain name
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
23So now.. Mr. CameraGawker wants to look at your
camera
DYNDNS.ORG
76.112.52.XXX
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
24Mr CameraGawker's PC
I want to look at WXOakland's AWSOME skycam!
DYNDNS.ORG
76.112.52.XXX
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
25He opens his web browser and types in
http//wxoakland.dyndns.org
Mr CameraGawker's PC
DYNDNS.ORG
76.112.52.XXX
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
26He opens his web browser and types in
http//wxoakland.dyndns.org
Mr CameraGawker's PC
That domain name is sent to Dyndns.org
DYNDNS.ORG
76.112.52.XXX
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
27Mr CameraGawker's PC
Dyndns.org looks up that name in its
database and sees it's linked to 76.112.52.xxx
and sends that back to MrGawker's browser
DYNDNS.ORG
76.112.52.XXX
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
28Mr CameraGawker's PC
You want to go to 76.112.52.xxx
DYNDNS.ORG
76.112.52.XXX
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
29Mr CameraGawker's PC
All behind the scenes Mr Gawker's browser sends a
port 80 request to 76.112.52.xxx
80
DYNDNS.ORG
76.112.52.XXX
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
30Mr CameraGawker's PC
Your router sees the port 80 request and forwards
the request on to the camera's ip address
DYNDNS.ORG
76.112.52.XXX
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
31Mr CameraGawker's PC
The camera, having received the request begins
sending image data back to Mr.Gawker's browser!
DYNDNS.ORG
76.112.52.XXX
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
32And VALA! Mr. Gawker sees your AWSOME Skycam
goes on to live a fullfilling life of wonder!
Mr CameraGawker's PC
DYNDNS.ORG
76.112.52.XXX
or DSL Modem
80
A Home Computer with an IP address given to it by
the router. 192.168.1.100
192.168.1.222 80
33The End