diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-08-29 05:06:05 +0000 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-08-29 05:06:05 +0000 |
commit | 7b71c3e3d55e4d1a6e74680e071e33abdd4d6466 (patch) | |
tree | fabc5023025d5345acbb911620deb2becd8fec26 /etc/netns/ns0 | |
parent | 960f0d384e5f3173caf26a847744be1f180cd9f5 (diff) |
nft disallow pp wg ip because no need
Diffstat (limited to 'etc/netns/ns0')
-rw-r--r-- | etc/netns/ns0/nftables.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/netns/ns0/nftables.conf b/etc/netns/ns0/nftables.conf index aeda6c57..2d6a6e48 100644 --- a/etc/netns/ns0/nftables.conf +++ b/etc/netns/ns0/nftables.conf @@ -22,8 +22,8 @@ table inet my_table { ct state invalid drop comment "early drop of invalid connections" ct state {established, related} accept comment "allow tracked connections" iifname lo accept comment "allow from loopback" - iifname $wg_iface ip saddr { 10.0.0.1, 10.0.0.7 } accept comment "allow from wireguard insp and pp ip" - iifname $wg_iface ip6 saddr { fdc9:281f:04d7:9ee9::1, fdc9:281f:04d7:9ee9::7} accept comment "allow from wireguard insp and pp ip" + iifname $wg_iface ip saddr 10.0.0.1 accept comment "allow from wireguard insp ip" + iifname $wg_iface ip6 saddr fdc9:281f:04d7:9ee9::1 accept comment "allow from wireguard insp ip" ip protocol icmp accept meta l4proto ipv6-icmp accept |