summaryrefslogtreecommitdiff
path: root/etc/nftables.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/nftables.conf')
-rw-r--r--etc/nftables.conf3
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/nftables.conf b/etc/nftables.conf
index c4b7e195..b07616b3 100644
--- a/etc/nftables.conf
+++ b/etc/nftables.conf
@@ -41,7 +41,6 @@ table inet my_table {
tcp dport imaps accept
tcp dport pop3s accept
tcp dport monerod-p2p accept
- tcp dport ssh-isp accept
pkttype host limit rate 5/second counter reject with icmpx type admin-prohibited
counter comment "count any other traffic"
@@ -80,8 +79,6 @@ table inet nat {
# https://www.procustodibus.com/blog/2022/09/wireguard-port-forward-from-internet
iifname $pub_iface tcp dport monerod-p2p dnat ip to 10.0.0.1:monerod-p2p
iifname $pub_iface tcp dport monerod-p2p dnat ip6 to [fdc9:281f:04d7:9ee9::1]:monerod-p2p
- iifname $pub_iface tcp dport ssh-isp dnat ip to 10.0.0.3:ssh
- iifname $pub_iface tcp dport ssh-isp dnat ip6 to [fdc9:281f:04d7:9ee9::3]:ssh
}
# for all packets to $pub_iface, after routing, replace source address with primary IP of $pub_iface interface
chain postrouting {