Enable firewall with USDA Vision and Supabase ports
This commit is contained in:
25
default.nix
25
default.nix
@@ -254,8 +254,29 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Firewall configuration
|
# Firewall configuration - open ports for USDA Vision services
|
||||||
# networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall = {
|
||||||
|
enable = true;
|
||||||
|
allowedTCPPorts = [
|
||||||
|
# Web services
|
||||||
|
80 # HTTP
|
||||||
|
443 # HTTPS
|
||||||
|
3000 # Main web app (if exposed directly)
|
||||||
|
|
||||||
|
# Supabase services
|
||||||
|
54321 # Supabase Kong (API Gateway)
|
||||||
|
54322 # Supabase PostgreSQL
|
||||||
|
54323 # Supabase Studio
|
||||||
|
54324 # Supabase Inbucket (email testing)
|
||||||
|
54327 # Supabase Analytics
|
||||||
|
|
||||||
|
# USDA Vision services
|
||||||
|
8090 # Media API
|
||||||
|
8189 # MediaMTX API
|
||||||
|
8554 # RTSP (MediaMTX)
|
||||||
|
8889 # MediaMTX WebRTC
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Any other usda-dash specific configuration
|
# Any other usda-dash specific configuration
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user