From 72a10359076dc03d9ebb7e7932095351c2b6709c Mon Sep 17 00:00:00 2001 From: celso Date: Thu, 2 Apr 2026 18:56:59 -0300 Subject: [PATCH] added nfs, iperf and mariadb ports --- defines.nft | 5 +++++ filter.nft | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/defines.nft b/defines.nft index a72cd6e..e571154 100644 --- a/defines.nft +++ b/defines.nft @@ -6,11 +6,16 @@ define SSH_PORT1 = 22 define SSH_PORT2 = 8022 define HTTP_PORT = 80 define HTTPS_PORT = 443 +define RPCBIND_PORT = 111 +define NFS_PORT = 2049 +define MOUNTD_PORT = 32767 define SYNCPLAY_PORT = 60000 define TERRARIA_PORT = 7777 define MAINPAGE_PORT = 3000 define NEXTCLOUD_PORT = 3001 define GITEA_PORT = 3002 +define IPERF_PORT = 5201 +define MARIADB_PORT = 3096 define POSTGRESQL_PORT = 5432 # TCP and UDP services (needs to go in both sets) diff --git a/filter.nft b/filter.nft index ddfc923..963ca80 100644 --- a/filter.nft +++ b/filter.nft @@ -10,7 +10,7 @@ table ip filter { elements = { $SSH_PORT1, $SSH_PORT2, $DNS_PORT, $HTTP_PORT, $HTTPS_PORT, $SYNCPLAY_PORT, $TERRARIA_PORT, $OPENTTD_PORT, $MAINPAGE_PORT, $NEXTCLOUD_PORT, $GITEA_PORT, - $POSTGRESQL_PORT + $POSTGRESQL_PORT, $RPCBIND_PORT, $MOUNTD_PORT, $NFS_PORT, $MARIADB_PORT, $IPERF_PORT }; }