Wan IP block

guys im really new and i have a simple question i think :slight_smile:) i need to configure mikrotik that has wan ip hided (not accasable to other ips) and then i need to do a rule that will give my home wan ip accses to routers wan ip.. i just need to know how to the the firewall rule..

input (wan ip) action drop to all
then how to do the rule to accept 1 or more specific wan addreses to acces the router?

thanks :slight_smile:

You can do it like this:

/ip firewall filter add chain=input protocol=tcp dst-port=21-23,80,8291,8728,8729 src-address-list=!trust action=drop

So, put your IP in trust list:

 /ip firewall address-list add list=trust address=X.X.X.X comment="Home Public IP"

:wink:

TCP: 20,21,22,23,53,80,443,1723,8291,8728,8729
UDP: 53,67,68,69,123,161,5678,20561
and add connection-state=new on ruleโ€ฆ