aplysia: fix transmission and samba services
This commit is contained in:
		
							parent
							
								
									52417ce7f2
								
							
						
					
					
						commit
						cc519b2308
					
				@ -51,6 +51,7 @@
 | 
			
		||||
    shares = {
 | 
			
		||||
      export = {
 | 
			
		||||
        "guest ok" = "no";
 | 
			
		||||
        "read only" = "no";
 | 
			
		||||
        path = "/mnt/aplysia";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
@ -61,12 +62,15 @@
 | 
			
		||||
    settings = {
 | 
			
		||||
      download-dir = "/mnt/aplysia/torrents";
 | 
			
		||||
      incomplete-dir = "/mnt/aplysia/torrents";
 | 
			
		||||
 | 
			
		||||
      peer-port = 51413;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  networking.firewall = {
 | 
			
		||||
    allowedTCPPorts = [
 | 
			
		||||
      445 139 # samba
 | 
			
		||||
      config.services.transmission.settings.peer-port
 | 
			
		||||
    ];
 | 
			
		||||
    allowedUDPPorts = [
 | 
			
		||||
      137 138 # samba
 | 
			
		||||
 | 
			
		||||
@ -41,6 +41,7 @@
 | 
			
		||||
   shares = {
 | 
			
		||||
     export = {
 | 
			
		||||
       "guest ok" = "no";
 | 
			
		||||
       "read only" = "no";
 | 
			
		||||
       path = "/mnt/vaccaria";
 | 
			
		||||
     };
 | 
			
		||||
   };
 | 
			
		||||
@ -51,12 +52,15 @@
 | 
			
		||||
#    settings = {
 | 
			
		||||
#      download-dir = "/mnt/aplysia/torrents";
 | 
			
		||||
#      incomplete-dir = "/mnt/aplysia/torrents";
 | 
			
		||||
#
 | 
			
		||||
#      peer-port = 51413;
 | 
			
		||||
#    };
 | 
			
		||||
#  };
 | 
			
		||||
 | 
			
		||||
  networking.firewall = {
 | 
			
		||||
    allowedTCPPorts = [
 | 
			
		||||
      445 139 # samba
 | 
			
		||||
      # config.services.transmission.settings.peer-port
 | 
			
		||||
    ];
 | 
			
		||||
    allowedUDPPorts = [
 | 
			
		||||
      137 138 # samba
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user