Mikrotik firewall setting

Could you assist me pls , i made a rule to block some sites like (FB,Youtube) and i need to know if there is a chance to exclude my personal computer from this Firewall rule if we assume the public IP like ( 109.224.x.x) and my private or the computer IP is like ( 192.168.88.254) i made it static already .

Please i need your support with steps or details . :frowning: :frowning:

Thanks ,

Putting your ip with exclamation mark into the src address field of the blocking rule should be enough.

Dear Jarda ;

Thanks for your response , i blocked both (FB &Youtube) using layer 7 protocol and(Expression) Regexp, and i choose action “drop"are you meaning putting my private computer IP(192.168.88.254) on src address on same rule or create a new rule and put action"Accept” on it cause when i put the exclamation mark before the address these sites still not working i mean still on “drop” condition .

If possible pls provide me with full steps including how to make a static IP in case i miss something !

Thanks , Mohamed

It depends on the rest of the rules and your approach. Both ways are possible.

Like i mentioned i created firewall rule and below the full steps which i done for blocking :

Step 1 :Create new Regexp at Layer7 Protocol by pressing (+)and name is Like (Denied):
and use expressing to block face and Youtube ;

Step 2:
Create new filter rule with the following :

General >Chain ( Forward )

At advanced Choose (Denied) which we create on 1st step .

Step 3 :Action >Drop

Please identify how can exclude the IP “192.168.88.254” from this firewall rule cause when i use your instructions and put it on src address with exclamation mark in front of it not working properly and stay using the drop firewall rule .