Community discussions

MikroTik App
 
nabuk
newbie
Topic Author
Posts: 47
Joined: Sun Sep 05, 2004 1:45 pm
Location: Italy

Question about nat 1:1 of about 8000 ip address

Sat Apr 11, 2015 2:17 pm

Hi all,
i need to do 1:1 nat between 8000 private ip address and 8000 public ip address.
Every time i need to know and to log 1:1 translation between private ip and public ip.
Ther's a way so i can log it ? i don't need the full nat table but only the creation and the distruction of the single translation like this example:

192.168.0.0/24 private io
8.8.8.0/24 public ip


Start 04-11-15 09:00:00 192.168.0.2-->8.8.8.4

End 06-11-15 19:00:00 192.168.0.2-->8.8.8.4

any idea ?
 
jaykay2342
Member
Member
Posts: 335
Joined: Tue Dec 04, 2012 2:49 pm
Location: /Vigor/LocalGroup/Milky Way/Earth/Europe/Germany

Re: Question about nat 1:1 of about 8000 ip address

Sun Apr 12, 2015 9:59 am

If you have same amount(subnet size) of private addresses as public ones you can do a netmap.
Let's say you map 192.168.20.0/24 to 198.51.100.0/24. 192.168.20.1 would become 198.51.100.1 ... 192.168.20.2 <=> 198.51.100.2 and so forth. So there is no need to log the translation as you now it from the configuration.
9-5 Job: Securityanalyst at a major MSSP.
Free time volunteer: Networkadmin and founder at a small non-profit WISP.
Certifications: ITILv3, GCIA

Who is online

Users browsing this forum: AndyGs, Baidu [Spider], mixig, petertosh, seriosha and 86 guests