how to make blacklisted hosts in firewall?
Use “/ip firewall filter”.
Hello SurferTim , how must i add this in firewall
Thanks for reply
If you want me to help you, be more specific about “blacklisted” and “hosts”.
Are you not understanding what I am asking? Just a few questions:
- How are you determining what goes in the blacklist?
- What format are the hosts in? IP or domain name?
- How did you get that much karma and not know this?
I have no experience with firewall rules this is my problem Tim that’s all
I will try out black listed hosts with IP-address as test but i don’t now where to begin
How are you determining what ips to put in the blacklist? Are you planning on doing that manually? If so, use an address list. Put the ips in an address list, then use that list to block access to those ips. This should do what you want:
/ip firewall address-list
add address=1.2.3.4 list=myblacklist
/ip firewall filter
add chain=forward action=drop dst-address-list=myblacklist
It blocks access to the destination IP address 1.2.3.4.
Thanks Tim, it worked like a charm