tp6_firewall
This commit is contained in:
13
sisr1/tp06-firewall/fw_part1.nft
Normal file
13
sisr1/tp06-firewall/fw_part1.nft
Normal file
@@ -0,0 +1,13 @@
|
||||
table ip ipfilter {
|
||||
chain routing {
|
||||
type filter hook forward priority filter; policy accept;
|
||||
icmp type echo-request iif { "enp0s3", "enp0s9" } drop
|
||||
icmp type { echo-reply, echo-request } accept
|
||||
drop
|
||||
}
|
||||
|
||||
chain system_in {
|
||||
type filter hook input priority filter; policy accept;
|
||||
icmp type echo-request iif { "enp0s3", "enp0s9" } drop
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user