Actualiser sisr1/tp07/files_firewall/current_ruleset_partie_5.nft

Changement de la mise en forme, sera supprimé si le téléchargement du fichier ruine la mise en forme originale du code.
This commit is contained in:
guillaume.emorine 2024-04-08 09:38:17 +02:00
parent 6676b43753
commit 5374bb2491

View File

@ -27,6 +27,7 @@ table ip ipfilter{
tcp dport 22 accept
ip saddr $proxy tcp dport {80, 443} accept
}
chain system_in {
type filter hook input priority filter; policy drop;
ct state established, related accept
@ -38,6 +39,7 @@ table ip ipfilter{
tcp dport 22 accept
ip saddr $proxy tcp dport {80, 443} accept
}
chain routing {
type filter hook forward priority filter; policy drop;
ct state established, related accept
@ -46,6 +48,7 @@ table ip ipfilter{
tcp dport {80, 443} ip saddr $lan-ntw accept
tcp sport {80, 443} ip saddr $lan-ntw accept
}
chain system_out {
type filter hook output priority filter; policy drop;
ip daddr $dns accept
@ -60,6 +63,7 @@ table ip ipfilter{
tcp sport {80, 443} accept
tcp sport 22 accept
}
chain postrouting {
type filter hook postrouting priority filter; policy drop;
ct state established, related accept