Community discussions

MikroTik App
 
qudama
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Mon Feb 24, 2014 2:26 am

lock all traffice allow 2 websites :)

Tue Apr 28, 2015 3:52 pm

Hello,
how can i bock everything and accept address list only?


/ip firewall filter
add action=add-dst-to-address-list address-list=youtube-list chain=forward \
comment="youtube.com IPs" content=youtube.com protocol=tcp
add action=add-dst-to-address-list address-list=googlevideo-list chain=\
forward comment="googlevideo.com IPs" content=googlevideo.com protocol=\
tcp
add action=add-dst-to-address-list address-list=facebook-list chain=forward \
comment="facebook.com IPs" content=facebook.com protocol=tcp
add action=add-dst-to-address-list address-list=\
"facebook delivery network-list" chain=forward comment=\
"Facebooks content delivery network IPs" content=fbcdn.net protocol=tcp
 
User avatar
DigitalBlueBiz
Trainer
Trainer
Posts: 33
Joined: Fri Mar 27, 2015 9:11 pm
Location: Brno, Czech Republic, Europe
Contact:

Re: lock all traffice allow 2 websites :)

Tue Apr 28, 2015 7:41 pm

Hi qudama,
have a look here http://forum.mikrotik.com/viewtopic.php?f=2&t=96307 as somebody as really similar issue like you.