Open port in container firewall maybe
This commit is contained in:
		
							parent
							
								
									94031ebc5a
								
							
						
					
					
						commit
						b6f7813cf8
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -12,6 +12,7 @@
 | 
			
		|||
  containers.aria2 = {
 | 
			
		||||
    forwardPorts = [
 | 
			
		||||
      {
 | 
			
		||||
        containerPort = 6969;
 | 
			
		||||
        hostPort = 6969;
 | 
			
		||||
        protocol = "tcp";
 | 
			
		||||
      }
 | 
			
		||||
| 
						 | 
				
			
			@ -36,6 +37,7 @@
 | 
			
		|||
      ...
 | 
			
		||||
    }: {
 | 
			
		||||
      system.stateVersion = "23.11";
 | 
			
		||||
      networking.firewall.allowedTCPPorts = [6969];
 | 
			
		||||
      users.users = {
 | 
			
		||||
        aria2.extraGroups = ["jellyfin" "nextcloud"];
 | 
			
		||||
      };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue