added nfs, iperf and mariadb ports

This commit is contained in:
celso 2026-04-02 18:56:59 -03:00
parent ac0d33128c
commit 72a1035907
2 changed files with 6 additions and 1 deletions

View File

@ -6,11 +6,16 @@ define SSH_PORT1 = 22
define SSH_PORT2 = 8022 define SSH_PORT2 = 8022
define HTTP_PORT = 80 define HTTP_PORT = 80
define HTTPS_PORT = 443 define HTTPS_PORT = 443
define RPCBIND_PORT = 111
define NFS_PORT = 2049
define MOUNTD_PORT = 32767
define SYNCPLAY_PORT = 60000 define SYNCPLAY_PORT = 60000
define TERRARIA_PORT = 7777 define TERRARIA_PORT = 7777
define MAINPAGE_PORT = 3000 define MAINPAGE_PORT = 3000
define NEXTCLOUD_PORT = 3001 define NEXTCLOUD_PORT = 3001
define GITEA_PORT = 3002 define GITEA_PORT = 3002
define IPERF_PORT = 5201
define MARIADB_PORT = 3096
define POSTGRESQL_PORT = 5432 define POSTGRESQL_PORT = 5432
# TCP and UDP services (needs to go in both sets) # TCP and UDP services (needs to go in both sets)

View File

@ -10,7 +10,7 @@ table ip filter {
elements = { elements = {
$SSH_PORT1, $SSH_PORT2, $DNS_PORT, $HTTP_PORT, $HTTPS_PORT, $SYNCPLAY_PORT, $SSH_PORT1, $SSH_PORT2, $DNS_PORT, $HTTP_PORT, $HTTPS_PORT, $SYNCPLAY_PORT,
$TERRARIA_PORT, $OPENTTD_PORT, $MAINPAGE_PORT, $NEXTCLOUD_PORT, $GITEA_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
}; };
} }