Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Blocking/allowing traffic based on regular expressions?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Blocking/allowing traffic based on regular expressions? (Read 1103 times)
ianmc
Newbie
Posts: 8
Karma: 0
Blocking/allowing traffic based on regular expressions?
«
on:
January 12, 2023, 06:34:42 am »
Hi all
I have recently started using opnsense instead of pfsense.
It seems more straight forward to setup.
It is virtuaised in proxmox.
A couple of containers i was using have been replaced, like pihole & tor. Now their functionality is in opnsense.
I have another pihole container on proxmox which is a special case for my android TV.
Typically phole downloads blocklists and filters using them.
In this case I have EVERYTHING blocked by default using DNS . I allow traffic for particular apps based on regular expressions. No blocklists are used.
It was a little tricky so setup, but now it works as I wish.
In case anyone is curious smart TVs are spying on you a lot. The pihole the TV uses has a block rate of 95%. It is constantly trying to call home.
So my TV will be on its own LAN. I need a method of blocking/allowing traffic based on regular expressions.
I have tried to set the tv proxy to the web proxy and block all other traffic from it. Most apps would not work.
I need a way of using regualr expressions to block/allow traffic.
A web proxy is no good there as some apps on the it seems do not use standerd web traffic.
I wish to buy a low lower PC to use as a opnsense router and use ther present server as a NAS & maybe jellyfin.
Before that I need the proxmox containers I have with tor, pihole end others to be have their function replaced in the router instead.
Useful info is appreciated.
Thanks
Logged
cookiemonster
Hero Member
Posts: 1818
Karma: 94
Re: Blocking/allowing traffic based on regular expressions?
«
Reply #1 on:
January 12, 2023, 03:31:44 pm »
AdGuard plugin in OPN and test the regexes on AdGuard?
Logged
ianmc
Newbie
Posts: 8
Karma: 0
Re: Blocking/allowing traffic based on regular expressions?
«
Reply #2 on:
January 15, 2023, 06:45:14 am »
Thanks. I will look into it.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Blocking/allowing traffic based on regular expressions?