mikrotik nat problem
Posted: Wed Feb 19, 2014 6:28 am
Hi ;
I'm using mikrotik CCR1036-12G-4S. I have 192.168.10.0/21 ( cidr notation) private ip block. I want to do 1:1 NAT some IP addresses.
for example:
192.168.10.1 ( private ip adress ) --> 1.1.1.1 ( public ip adress)
/ip firewall nat add chain=srcnat src-address=192.168.10.1 action=src-nat \
to-addresses=1.1.1.1
but is not working. packets counters is zero. no package does not get caught.
if use netmap
for example
/ip adress firewall chain=srcnat action=netmap to-addresses=192.168.10.0/24 src-address=1.1.1.0/24
netmap NAT is working. I have to watch the way how to solve this problem. How do I write a correct NAT rule ? very simple operation, but I can not be successful
I'm using mikrotik CCR1036-12G-4S. I have 192.168.10.0/21 ( cidr notation) private ip block. I want to do 1:1 NAT some IP addresses.
for example:
192.168.10.1 ( private ip adress ) --> 1.1.1.1 ( public ip adress)
/ip firewall nat add chain=srcnat src-address=192.168.10.1 action=src-nat \
to-addresses=1.1.1.1
but is not working. packets counters is zero. no package does not get caught.
if use netmap
for example
/ip adress firewall chain=srcnat action=netmap to-addresses=192.168.10.0/24 src-address=1.1.1.0/24
netmap NAT is working. I have to watch the way how to solve this problem. How do I write a correct NAT rule ? very simple operation, but I can not be successful