feat: Update firewall settings in SGX-NixOS
This commit allows TCP traffic on port 8080 and permits ICMP echo requests for ping command in SGX-NixOS. Moreover, the necessary code adjustments have been made in the default.nix file.
This commit is contained in:
		
							parent
							
								
									f20e87cd50
								
							
						
					
					
						commit
						481e8ca6cf
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -52,6 +52,8 @@ with lib.metacfg; | |||
|   security.tpm2.abrmd.enable = false; | ||||
| 
 | ||||
|   networking.wireless.enable = false; # Enables wireless support via wpa_supplicant. | ||||
|   networking.firewall.allowedTCPPorts = [ 8080 ]; | ||||
|   networking.firewall.allowPing = true; | ||||
| 
 | ||||
|   powerManagement.cpuFreqGovernor = "ondemand"; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue