please help , im new using mikrotik router os, i have problem., cannot connet internet when im as client, ip public dynamic ip local static i have set ip firewall nat action=masquarade chain=srcnat help me…
First check if mikrotik itself sees internet by pinging and tracerouting some addressees form MT. If it does not work, your internet connection does not work. If it does work, then you haven’t set masquerading properly, or there is problem with local network configuration. Also check if local network sees MT properly.
Do not just complain it does not work. At list say show your configuration.
Try this one.
/ ip firewall nat
add chain=srcnat out-interface=ether1 action=masquerade comment="" disabled=no
The rule should look like this if you issue the print command.
[admin@MikroTik] > ip firewall nat print srcnat
Flags: X - disabled, I - invalid, D - dynamic
0 X chain=srcnat out-interface=ether1 action=masquerade
The interface ether1 in this example is connected to the Internet. Remember to always add the rule to the outgoing network interface.
or try with this code:
/ ip firewall nat add chain=srcnat src-address=192.168.0.0/24 action=masquerade
that’s nat code 192.168.0.0/24 example subnet for.
regards
Hasbullah.com
thx all… its workin… ![]()