Redirecting IP adresses(Version française ici)![]() Atempting access without NAT As it took long to me to understand IP addresses redirection, I thought I could share What I have understood. IP address redirection is useful if you want to access a given host behind your ISP box (which is a router) from the outside (anywhere). We start by assuming this address is permanent and known (otherwise
go here to see how to get around). On the WAN side, you will never see you LAN addresses. Despite 82.1.2.3 totally came from my head, LAN adresses here should look much like yours because 192.168.x.x is a LAN reserved adress (as well as those two : 10.x.y.z and 172.16.x.y) which make 3 groups of adresses begining with those numbers. These are the 3 only groups meaning that your address is local and cannot be anything else. The problemIn the top animation, a client tries to access a http server behind a router. He types in: 82.1.2.3 in his browser and goes thus directly to the router. The client also have WAN address but not shown here. Upon arrival, the router sees what is called an incoming frame, e.g. a bunch of data with the WAN IP address of the client leading (here:
82.1.2.3) coming from the client's browser and the WAN IP address of the destination. Note this is very useful to ignore all kind of unwanted external requests coming from outside. It acts almost like a firewall :-) Long live to addresses redirectionThere are 2 ways (at least) to tell the router which host we are interested to:
If you do not specify a port number, your browser will use a standard port (80 for http, 443 for https etc.)
. Address redirection is sometimes found in the "port forwarding" section.
Which means: Any incoming connection with 6000 as port number should be forwarded to 192.168.0.12 as if the port were 80 (that's http port). Access with NAT Et voilą ! Questions ? | ||||||||