mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-10-01 00:55:42 -04:00
allow geoipupdate internet access for discuss
This commit is contained in:
parent
dc4101f3de
commit
5cef4a2aa6
@ -44,12 +44,12 @@ table inet filter {
|
|||||||
type filter hook output priority filter
|
type filter hook output priority filter
|
||||||
|
|
||||||
oif lo goto output-internal
|
oif lo goto output-internal
|
||||||
skuid != {root, systemd-network, unbound, chrony, http, flarum, flarum-admin} counter goto output-reject
|
skuid != {root, systemd-network, unbound, chrony, http, flarum, flarum-admin, geoipupdate} counter goto output-reject
|
||||||
}
|
}
|
||||||
|
|
||||||
chain output-internal {
|
chain output-internal {
|
||||||
skuid unbound meta l4proto {tcp, udp} th sport 53 th dport >= 1024 accept
|
skuid unbound meta l4proto {tcp, udp} th sport 53 th dport >= 1024 accept
|
||||||
skuid {chrony, http, flarum, flarum-admin} meta l4proto {tcp, udp} th sport >= 1024 th dport 53 accept
|
skuid {chrony, http, flarum, flarum-admin, geoipupdate} meta l4proto {tcp, udp} th sport >= 1024 th dport 53 accept
|
||||||
|
|
||||||
skuid != root counter goto output-reject
|
skuid != root counter goto output-reject
|
||||||
accept
|
accept
|
||||||
|
Loading…
Reference in New Issue
Block a user