Hello,
Can anyone shed some light on NAT for me?I always read that as wel as cutting down on the number of real IP addreses needed it also provides a basic firewall.
OK this is how I understand NAT to work,please tell me where I am wrong.....
if my router changes the internal address on an outbound packet from 192.168.0.5 to real ip address 123.123.123.10 then the outside world only sees 123.123.123.10 right?
but any packets coming back from say a http server will be addressed to 123.123.123.10,my router forwards them on to me at 192.168.0.5.
So how does it work? anyone can see the real IP address I have at the moment I can't see much difference between NAT and DHCP.
How does the router know the difference between a packet which is a reponse and a packet which might be trying to initiate a connection?I read something about sequential packet identifiers.
The routers know that if say packet a is sent out with identifier 1 then the responding packet should be numbered 2.Yes?
Finally I read another piece which really confused me about the sequential number being constantly changing thousands of times a second.
So now packet a goes out with no. 1 say it takes 5 secs to reach its destination it is then turned round with identifier 5000 if the clock runs at 1000 changes per second.
my router will know what the identifier should be and will reject any packets from that addres with the wrong identifier.
Phew! and all this is to prevent IP spoofing yeah?
OK i'm all done,sorry it's a bit long but if I write it down it gets clearer in my head.
Please tell me where I am wrong or missing important info.I'm also sure that I have over simplified so go easy.
One last thing,anyone suggest a software router to run on windows?
Something I can play with.
Cheers.
|
Page 1 of 1
Network Address Translation,basic Firewall?
#2
|
Our Sponsors: |

Sign In
Register
Help
MultiQuote