summaryrefslogtreecommitdiff
path: root/etc/netns
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2026-08-20 05:09:11 +0000
committerXiao Pan <xyz@flylightning.xyz>2026-08-20 05:09:11 +0000
commita37d3b288d059b3b97440cd20f427145d66aef0e (patch)
tree4952451e641eebbc39041593ee9c8d09f42e198b /etc/netns
parent576f21c50ce7adafc4f98064cba7a6c76a408afe (diff)
enable mimic because no udp maybe because VPS provider temp anti-DDOS setup
Diffstat (limited to 'etc/netns')
-rw-r--r--etc/netns/ns0/nftables.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/netns/ns0/nftables.conf b/etc/netns/ns0/nftables.conf
index d0643505..f71e46b4 100644
--- a/etc/netns/ns0/nftables.conf
+++ b/etc/netns/ns0/nftables.conf
@@ -32,6 +32,9 @@ table inet my_table {
tcp dport qbt accept
udp dport qbt accept
#tcp dport iperf3 accept
+ # mimic is both tcp and udp see perma link:
+ # https://github.com/hack3ric/mimic/blob/572a2ae5aeaa156afc2d6064a763e842962735bf/docs/getting-started.md#firewall
+ tcp dport wireguard accept
udp dport wireguard accept
pkttype host limit rate 5/second counter reject with icmpx type admin-prohibited