NAT Tutorial

From CTWUG Wiki
Revision as of 18:10, 21 September 2009 by Rellik (talk | contribs)

Jump to: navigation, search

This is a tutorial to explain how to use your own private lan range for network and NAT network address translation This means, for example, that in your private network you can have whatever private IP you want which is then in turn translated to the public network IP (WUG IP) given to you by your WUG Admin. This tutorial can thus be used by wuggers who dont want to change the internal IP addressing of their LAN.

In tutorial we are using the following ips:

Highsite IP: 172.18.100.254 Wugger RB IP: 172.18.100.6 Wugger Wug Range: 172.18.100.0/29 Wugger PVT Lan Range: 10.0.0.0/24 Wugger PC PVT IP: 10.0.0.3

File:MediaWiki:NAT ips.jpg


First configure the IP's for your wlan1 (Wireless Wug interface) and eht1 (Ethernet interface)

File:MediaWiki:Mikrotik nat howto01.jpg

File:MediaWiki:Mikrotik nat howto02.jpg

Set your static Wug route of 172.18.0.0/16

File:MediaWiki:Mikrotik nat howto03.jpg

File:MediaWiki:Mikrotik nat howto04.jpg


To configure the NAT, go to IP > Firewall and click the NAT tab


First we will configure the Source Network Address Translation setting (SRC-NAT). This will translate your local pvt lan ip (10.0.0.3) to a public (wug accessible) ip.

File:MediaWiki:Mikrotik nat howto05.jpg

File:MediaWiki:Mikrotik nat howto06.jpg