summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-03-20 09:10:33 +0000
committerXiao Pan <gky44px1999@gmail.com>2024-03-20 09:10:33 +0000
commit62e23a287b8e5194130ad33570e6849a3fcb9892 (patch)
treeaf72896ef53cd37f78ef1bc8f1a7d95eeaa3e216 /etc
parent724688b2fb519d5fd39bf88c39353ec2df319d9e (diff)
add future maybe enable ports to nft conf
Diffstat (limited to 'etc')
-rw-r--r--etc/nftables.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/nftables.conf b/etc/nftables.conf
index b0c2c669..bd943c12 100644
--- a/etc/nftables.conf
+++ b/etc/nftables.conf
@@ -33,6 +33,12 @@ table inet my_table {
#udp dport qbt accept
#tcp dport iperf3 accept
udp dport wireguard accept
+ # email ports
+ #tcp dport smtp accept
+ #udp dport smtp accept
+ # other email ports? seems blocked by crunchbits
+ #tcp dport 465 accept
+ #tcp dport 587 accept
pkttype host limit rate 5/second counter reject with icmpx type admin-prohibited
counter comment "count any other traffic"