added webserver ports

This commit is contained in:
celso 2024-12-13 02:47:50 -03:00
parent 186bab8f76
commit 70349a41c9
2 changed files with 4 additions and 1 deletions

View File

@ -8,6 +8,9 @@ define HTTP_PORT = 80
define HTTPS_PORT = 443
define SYNCPLAY_PORT = 60000
define TERRARIA_PORT = 7777
define MAINPAGE_PORT = 3000
define NEXTCLOUD_PORT = 3001
define GITEA_PORT = 3002
# TCP and UDP services (needs to go in both sets)
define DNS_PORT = 53

View File

@ -7,7 +7,7 @@ table ip filter {
set allowed_tcp_ports {
type inet_service;
flags constant;
elements = { $SSH_PORT1, $SSH_PORT2, $DNS_PORT, $HTTP_PORT, $HTTPS_PORT, $SYNCPLAY_PORT, $TERRARIA_PORT, $OPENTTD_PORT };
elements = { $SSH_PORT1, $SSH_PORT2, $DNS_PORT, $HTTP_PORT, $HTTPS_PORT, $SYNCPLAY_PORT, $TERRARIA_PORT, $OPENTTD_PORT, $MAINPAGE_PORT, $NEXTCLOUD_PORT, $GITEA_PORT };
}
set allowed_udp_ports_in {