nat presentation

14
@%#^& - Q? - A! The Story of:

Upload: hassoon3

Post on 18-Dec-2014

1.698 views

Category:

Technology


2 download

DESCRIPTION

This is a presentation about the life of Network Address translation.

TRANSCRIPT

Page 1: Nat presentation

@%#^& - Q? - A!The Story of:

Page 2: Nat presentation

NAT!The Story of:

Page 3: Nat presentation

Private and Public IPs No private on the internet!

Private Computers wants .◦ They can’t go with their private IPs!!!

What is the problem?!

Page 4: Nat presentation

Get public IPs …◦ Well, give me money to buy them. ◦ And I would need new Network cards for them.◦ Are we PRIVATE anymore!?!?!

Gateways! Inspiring!

If there is a service in the internet somewhere, a public service, does it care who I am that much?!

I GOT IT! Let’s buy one more computer!

Ideas!?

Page 5: Nat presentation

The Idea is to put a computer between our private network and the internet.

When ever one host in the private zone wants to talk with any host in the internet (upload/download), it asks this computer for doing It.

This device is the only one seen from the internet.

We will call this device a NAT Device.

The delegate!

Page 6: Nat presentation

NAT stands for Network Address Translation.

Translation of address is changing them according to rules.

Tow Levels of NAT:◦ Network layer: translates IP (Basic NAT)

◦ Transport & Network layer: IP + Port (TCP/UDP) ◦ Referred to as PAT (Port Address Translation) or NAPT.

Translation in two directions:◦ SNAT: Translate source address.◦ DNAT: Translate destination address.

NAT: features and definitions

Page 7: Nat presentation

Scenario One (Browsing)In this scenario computer A tries to open a webpage on a server through the internet.

Source Dest

IP 172.16.0.2 90.22.14.15

Port 42555 80

Source Dest

IP 88.14.51.100 90.22.14.15

Port

5000 80

Source Dest

IP 90.22.14.15 88.14.51.100

Port

80 5000

Page 8: Nat presentation

Hasan in the Cafiteria! (Port Forwarding)This is the scenario where I am in the cafeteria trying to take of my torrents … !

Page 9: Nat presentation
Page 10: Nat presentation
Page 11: Nat presentation

Static DNATing for inbound connections.◦ Example: Vuze local connection end-point.

Too many outbound connections and we run out of ports in the NAT.◦ E.g. Inconsistent HTTP requests while browsing.

NAT table entries with no activity are droped.

Some protocols like FTP has got problems!!!

Drawbacks:

Page 12: Nat presentation

FTP through NAT

Page 13: Nat presentation

NAT & IPv6

Page 14: Nat presentation

The ENDThank you.