tp-06
This commit is contained in:
parent
bc35c3c2d8
commit
b09ea48f16
26
sisr1/tp06-firewall/current_ruleset.nft
Normal file
26
sisr1/tp06-firewall/current_ruleset.nft
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
define netif = enp0s3
|
||||||
|
define lanif = enp0s8
|
||||||
|
define dmzif = enp0s9
|
||||||
|
|
||||||
|
|
||||||
|
table ip ipfilter{
|
||||||
|
chain prerouting {
|
||||||
|
type filter hook prerouting priority filter; policy drop;
|
||||||
|
tcp dport 22 accept
|
||||||
|
}
|
||||||
|
chain system_in {
|
||||||
|
type filter hook input priority filter; policy drop;
|
||||||
|
tcp dport 22 accept
|
||||||
|
}
|
||||||
|
chain routing {
|
||||||
|
type filter hook forward priority filter; policy drop;
|
||||||
|
}
|
||||||
|
chain system_out {
|
||||||
|
type filter hook output priority filter; policy drop;
|
||||||
|
tcp sport 22 accept
|
||||||
|
}
|
||||||
|
chain postrouting {
|
||||||
|
type filter hook postrouting priority filter; policy drop;
|
||||||
|
tcp sport 22 accept
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user