nouveau fichier : sio2/SISR/05-pxe/nftables.conf
This commit is contained in:
		
							
								
								
									
										25
									
								
								sio2/SISR/05-pxe/nftables.conf
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										25
									
								
								sio2/SISR/05-pxe/nftables.conf
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
#!/usr/sbin/nft -f
 | 
			
		||||
 | 
			
		||||
flush ruleset
 | 
			
		||||
 | 
			
		||||
table inet filter {
 | 
			
		||||
	chain input {
 | 
			
		||||
		type filter hook input priority filter;
 | 
			
		||||
	}
 | 
			
		||||
	chain forward {
 | 
			
		||||
		type filter hook forward priority filter;
 | 
			
		||||
	}
 | 
			
		||||
	chain output {
 | 
			
		||||
		type filter hook output priority filter;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
table inet nat {
 | 
			
		||||
	chain prerouting {
 | 
			
		||||
		type nat hook prerouting priority 0;
 | 
			
		||||
	}
 | 
			
		||||
	chain postrouting {
 | 
			
		||||
		type nat hook postrouting priority 100;
 | 
			
		||||
		oifname "enp0s3" masquerade
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user