feat: add Syncthing ports configuration
Added TCP and UDP ports for Syncthing to the firewall configuration. Configured Syncthing GUI to listen on all addresses at port 8384.
This commit is contained in:
		
							parent
							
								
									7b7cebb658
								
							
						
					
					
						commit
						cd69324e48
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -79,6 +79,7 @@ | |||
|       user = "harald"; | ||||
|       dataDir = "/mnt/raid/Qmultimedia/syncthing"; # Default folder for new synced folders | ||||
|       configDir = "/mnt/raid/Qmultimedia/syncthing/.config/syncthing"; # Folder for Syncthing's settings and keys | ||||
|       guiAddress = "0.0.0.0:8384"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
|  | @ -37,6 +37,7 @@ | |||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   networking.firewall.allowedTCPPorts = [ config.services.netatalk.port ]; | ||||
|   networking.firewall.allowedTCPPorts = [ 8384 22000 config.services.netatalk.port ]; | ||||
|   networking.firewall.allowedUDPPorts = [ 22000 21027 ]; | ||||
|   networking.firewall.allowPing = true; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue