Accept fox connection to slurm controller
Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
This commit is contained in:
		
							parent
							
								
									4b6b67b587
								
							
						
					
					
						commit
						dff6eaf587
					
				| @ -13,6 +13,11 @@ | |||||||
|       iptables -A nixos-fw -p tcp -s 10.0.40.0/24 --dport 6817 -j nixos-fw-accept |       iptables -A nixos-fw -p tcp -s 10.0.40.0/24 --dport 6817 -j nixos-fw-accept | ||||||
|       # Accept slurm connections from compute nodes for srun |       # Accept slurm connections from compute nodes for srun | ||||||
|       iptables -A nixos-fw -p tcp -s 10.0.40.0/24 --dport 60000:61000 -j nixos-fw-accept |       iptables -A nixos-fw -p tcp -s 10.0.40.0/24 --dport 60000:61000 -j nixos-fw-accept | ||||||
|  | 
 | ||||||
|  |       # Accept slurm connections to controller from fox (via wireguard) | ||||||
|  |       iptables -A nixos-fw -p tcp -i wg0 -s 10.100.0.1/32 --dport 6817 -j nixos-fw-accept | ||||||
|  |       # Accept slurm connections from fox for srun (via wireguard) | ||||||
|  |       iptables -A nixos-fw -p tcp -i wg0 -s 10.100.0.1/32 --dport 60000:61000 -j nixos-fw-accept | ||||||
|     ''; |     ''; | ||||||
|   }; |   }; | ||||||
| } | } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user