If I have a Mikrotik box with source nat, how can I log translation between “private” and “public” world ?
I tryed using ip->fw->nat->action=log, but I can see only private side, not translation …
Thanks in advance.
If I have a Mikrotik box with source nat, how can I log translation between “private” and “public” world ?
I tryed using ip->fw->nat->action=log, but I can see only private side, not translation …
Thanks in advance.
Please, can someone help me ?
Please, Please, can someone help me ?
what do you want to do exactly? what exactly do you wish to see in the log? give an example
If I have a Mikrotik box with source nat such as:
ip address> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; added by setup
10.10.10.3/24 10.10.10.0 10.10.10.255 ether1
1 192.168.145.101/24 192.168.145.0 192.168.145.255 ether2
ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=ether2 src-address=40.40.40.0/24
action=masquerade
My clients are 40.40.40.x/24 behind ether1, and they go out ether2 with 192.168.145.101 ip address.
I need to log all mappings 40.40.40.x:port1 --> 192.168.145.101:port1 because I want to trace it.
I tryied with:
ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat out-interface=ether2 src-address=40.40.40.0/24
action=log
but I can see only 40.40.40.x:port1 --> public destination ip addr:port2,
so I haven't mapping 40.40.40.x:port --> 192.168.145.101:port logged.
Thanks