summaryrefslogtreecommitdiff
path: root/etc/nftables.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/nftables.conf')
-rw-r--r--etc/nftables.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/nftables.conf b/etc/nftables.conf
index 6bd80b22..02f65913 100644
--- a/etc/nftables.conf
+++ b/etc/nftables.conf
@@ -32,6 +32,8 @@ table inet my_table {
#udp dport wireguard accept
iifname wg_* ip saddr 10.0.0.7 tcp dport distccd-alarm-armv8 accept
iifname wg_* ip6 saddr fdc9:281f:04d7:9ee9::7 tcp dport distccd-alarm-armv8 accept
+ ip saddr 192.168.0.0/16 udp dport swgp accept
+ ip6 saddr fe80::/10 udp dport swgp accept
pkttype host limit rate 5/second counter reject with icmpx type admin-prohibited
counter comment "count any other traffic"