summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-07-10 20:55:54 +0800
committerXiao Pan <xyz@flylightning.xyz>2025-07-10 20:55:54 +0800
commit42c20f88095b74c530fdd461c02532799e374855 (patch)
tree9478d7f312395bc59db301903b1490ac93ede380 /etc
parent7b6d81f30cb3023b7ebefaeff11d8f41863b4534 (diff)
nft allow ssh from wg_* iifname, because I will let cfgs to push
Diffstat (limited to 'etc')
-rw-r--r--etc/nftables.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nftables.conf b/etc/nftables.conf
index c26ae020..480298a3 100644
--- a/etc/nftables.conf
+++ b/etc/nftables.conf
@@ -20,7 +20,7 @@ table inet my_table {
ip protocol icmp accept
meta l4proto ipv6-icmp accept
- #tcp dport ssh accept
+ iifname wg_* tcp dport ssh accept
#tcp dport qbt-nox accept
#tcp dport searx accept
tcp dport qrcp accept