I have a router RB-750. There has been a request from my office.
I want to limit all internet excess to all PCs except gmail.com. But few executives MAC addresses are to be excluded from this limitation so that they can surf youtube and show us that they are Bosses
For this project -
Enable http proxy
In the proxy rules-
Create a rule allow gmail.com
Create the second rule = drop everything
In firewall nat rules make a rule in dstnat that matches in-interface=lan dst-port=80 protocol=tcp action=jump jump-target=http_proxy_check
Add the rest of these rules with chain=http_proxy_check:
source mac address = mac of boss computer 1 , action = return
source mac address = mac of boss computer 2 , action = return
β¦
etc
β¦
last rule:
(no conditions) action = redirect to-ports=8080
This will force all computers except the boss macs to use the http proxy.
This is what I did. Please help me⦠I have created an address list and bounded MAC addresses of normal users. So separating the normal users from managers wont be a problem.
The issue is, I can block TCP traffic but other services/internet e.g whatsapp are not blocked. I want to block everything except gmail and few other websites. Do you suggest that I go with layer7 protocol blocking ?
This is what I have doneβ¦
Just add a firewall rule to the forward chain which allows all traffic from the boss computer MAC addresses (you may as well put this rule before the βredirect to proxyβ rule) and then the last rule has no match criteria (matches all traffic) and action = drop.