URL blocking by keyword
- 
Hi,
Is it possible to block URL's by keyword?
For example adding a keyword of "tiktok" will block all URLs with the keyword "tiktok" in it.Regards,
Howie - 
 - 
Yes, I understand you can add .tiktok.com (wildcard *.tiktok.com) to also block all subdomains. But I'm looking for something that blocks at both ends. ie: .tiktok. (wildcard *.tiktok.* i.e. any TLD).
 - 
Have you tried the wildcard at the end
Have not thought about that
But should work that way
 - 
@HowieFQ
Do you have pfBlockerNG installed?
If so you could add a GeoIP alias and using TikTok's ASN number
Create a block outgoing rule using the previous alias. pfBlocker can create such a rule for you automatically on the GUITikTok AS138699
I didn't come up with this myself so credit where credit is due: https://forum.netgate.com/topic/177149/blocking-wechat-and-tiktok
 - 
@alejo-0 said in URL blocking by keyword:
add a GeoIP alias and using TikTok's ASN number
oh wow thats an interesting one thanks
br
NP - 
There is always a regex answer.
So :

and bye bye toktik :

 - 
@gertjan said in URL blocking by keyword:
There is always a regex answer.
damn man awesome !
THX great !R E S P E C T
never ever thought about this ... !
 
 
 
 - 
N noplan referenced this topic on 
 - 
N noplan referenced this topic on 
 -