diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-06-29 02:20:34 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-06-29 02:20:34 -0700 |
commit | c6ef80b90d2a32975b653299292d383c3f912ed4 (patch) | |
tree | 9ac8c0b26d2ad1062536253a25647f16ef5f1b11 /etc/nftables.conf | |
parent | ccbd799574b03e40f745b39666bbe4bf5790d5ba (diff) |
prepare for wg
Diffstat (limited to 'etc/nftables.conf')
-rw-r--r-- | etc/nftables.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/nftables.conf b/etc/nftables.conf index 821ce0fb..f5efb4f5 100644 --- a/etc/nftables.conf +++ b/etc/nftables.conf @@ -30,6 +30,7 @@ table inet my_table { udp dport qbt-forward accept #tcp dport monerod-p2p accept #tcp dport iperf3 accept + udp dport wireguard accept pkttype host limit rate 5/second counter reject with icmpx type admin-prohibited counter comment "count any other traffic" |