forked from guillaume.emorine/siotp
Grande réorganisation et renommage au niveau du Gitea, d'autres
modifications à venir.
This commit is contained in:
1
bts_annee_2/sisr2/intel_pxe_boot/nftables/README.md
Normal file
1
bts_annee_2/sisr2/intel_pxe_boot/nftables/README.md
Normal file
@@ -0,0 +1 @@
|
||||
Fichier de configuration nftables de la machine PXE.
|
24
bts_annee_2/sisr2/intel_pxe_boot/nftables/nftables.conf
Executable file
24
bts_annee_2/sisr2/intel_pxe_boot/nftables/nftables.conf
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/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