Answer the question
In order to leave comments, you need to log in
How to close access to the Internet with exceptions?
Welcome all!
What am I doing wrong?
It is necessary to close access to the Internet to one of subnets. For this I do:
ip firefall filter add chain=forward action=drop src-address=xx.yy.yy.0/24
dst-address-list=!XXXX out-interface=INET_INTERFACE
ip firewall address-list add address=address.com list=XXXX
Answer the question
In order to leave comments, you need to log in
/ip firewall address-list
add address=1.yyy.com list=allowed
add address=2.yyy.com list=allowed
/ip firewall filter
add action=reject chain=forward dst-address-list=!allowed protocol=tcp reject-with=tcp-reset src-address=%your_ip%
add action=drop chain=forward dst-address-list=!allowed protocol=udp src-address=%your_ip%
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question