Enabling NAT

From MikroTik Wiki
Jump to navigation Jump to search

Enabling Nat in Mikrotik

NAT

In computer networking, network address translation (NAT, also known as network masquerading, native address translation or IP masquerading) is a technique of transceiving network traffic through a router that involves re-writing the source and/or destination IP addresses and usually also the TCP/UDP port numbers of IP packets as they pass through. Checksums (both IP and TCP/UDP) must also be rewritten to take account of the changes. Most systems using NAT do so in order to enable multiple hosts on a private network to access the Internet using a single public IP address (see gateway). Nonetheless, NAT can introduce complications in communication between hosts and may have a performance impact.

Enabling NAT in MikroTik:

-- Click on menu “IP” -- Select Firewall Option

File:Nat-1.jpg


-- Select the “NAT” tab and add new rule -- In general > Chain select “srcnat” -- In Out. Interface selects your outbound interface. -- Now Click on Apply

File:Nat-2.jpg


-- Now go to Action Tab and in Action Select “masquerade” -- Now click on comment option and add any comment for your ease. Eg: Nat

File:Nat-3.jpg


-- Click Ok and Click ok Again.

File:Nat-4.jpg


The rule has been added and started its working. Have Fun!