summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-07-30 22:34:41 +0800
committerXiao Pan <xyz@flylightning.xyz>2025-07-30 22:34:41 +0800
commit0bd140e986f6e91bdb46cc072e6ed594d0cd44fb (patch)
treec1a8e46d8777614998df948a831bc3307e6e7160 /etc
parentd93dd7fabe2518f42e23af0e1ed02c3a162de4b4 (diff)
add distccd port and accept that in nft so pp distcc can connect
Diffstat (limited to 'etc')
-rw-r--r--etc/nftables.conf2
-rw-r--r--etc/services1
2 files changed, 3 insertions, 0 deletions
diff --git a/etc/nftables.conf b/etc/nftables.conf
index 1fec22e2..de1a28b4 100644
--- a/etc/nftables.conf
+++ b/etc/nftables.conf
@@ -30,6 +30,8 @@ table inet my_table {
iifname wg_* tcp dport monerod-p2p accept
#tcp dport iperf3 accept
#udp dport wireguard accept
+ iifname wg_* ip saddr 10.0.0.7 tcp dport distccd-alarm-armv8 accept
+ iifname wg_* ip6 saddr fdc9:281f:04d7:9ee9::7 tcp dport distccd-alarm-armv8 accept
pkttype host limit rate 5/second counter reject with icmpx type admin-prohibited
counter comment "count any other traffic"
diff --git a/etc/services b/etc/services
index 57bd667f..4bea15b7 100644
--- a/etc/services
+++ b/etc/services
@@ -11525,6 +11525,7 @@ ai-webui 7860/tcp
monerod-p2p 18080/tcp
qrcp 49153/tcp
wireguard 49432/udp
+distccd-alarm-armv8 49710/tcp
iperf3 53497/tcp
# qemu port forward guest windows virtual machine ssh
qemu-win-ssh 53683/tcp