feat(services): add adguardhome
This commit is contained in:
parent
43cb9890c9
commit
09554029fe
3 changed files with 113 additions and 4 deletions
system
|
@ -15,14 +15,14 @@
|
|||
table inet allow-incoming-traffic {
|
||||
chain allow-incoming {
|
||||
type filter hook input priority -100; policy accept;
|
||||
tcp dport {80, 443, 2222} meta mark set 0x80000;
|
||||
udp dport {80, 443, 2222} meta mark set 0x80000;
|
||||
tcp dport {80, 443, 853, 2222} meta mark set 0x80000;
|
||||
udp dport {80, 443, 853, 2222} meta mark set 0x80000;
|
||||
}
|
||||
|
||||
chain allow-outgoing {
|
||||
type route hook output priority -100; policy accept;
|
||||
tcp sport {80, 443, 2222} meta mark set 0x80000;
|
||||
udp sport {80, 443, 2222} meta mark set 0x80000;
|
||||
tcp sport {80, 443, 853, 2222} meta mark set 0x80000;
|
||||
udp sport {80, 443, 853, 2222} meta mark set 0x80000;
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue