informatique:reseau:shorewall
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
informatique:reseau:shorewall [12/03/2021 18:00] – cyrille | informatique:reseau:shorewall [12/03/2021 18:02] (Version actuelle) – cyrille | ||
---|---|---|---|
Ligne 21: | Ligne 21: | ||
net eth0 dhcp, | net eth0 dhcp, | ||
lan eth1 | lan eth1 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ cat / | ||
+ | # Shorewall -- / | ||
+ | # | ||
+ | # For information about this file, type "man shorewall-zones" | ||
+ | # | ||
+ | # The manpage is also online at | ||
+ | # http:// | ||
+ | # | ||
+ | ############################################################################### | ||
+ | # | ||
+ | |||
+ | fw firewall | ||
+ | net ipv4 | ||
+ | lan ipv4 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ cat / | ||
+ | # | ||
+ | # Shorewall -- / | ||
+ | # | ||
+ | # For information about entries in this file, type "man shorewall-policy" | ||
+ | # | ||
+ | # The manpage is also online at | ||
+ | # http:// | ||
+ | # | ||
+ | ############################################################################### | ||
+ | # | ||
+ | |||
+ | $FW net ACCEPT | ||
+ | net all DROP info | ||
+ | lan all ACCEPT info | ||
+ | # The FOLLOWING POLICY MUST BE LAST | ||
+ | all all REJECT info | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ cat / | ||
+ | # | ||
+ | # Shorewall -- / | ||
+ | # | ||
+ | # For information on the settings in this file, type "man shorewall-rules" | ||
+ | # | ||
+ | # The manpage is also online at | ||
+ | # http:// | ||
+ | # | ||
+ | ############################################################################################################################################################## | ||
+ | # | ||
+ | |||
+ | ?SECTION ALL | ||
+ | ?SECTION ESTABLISHED | ||
+ | ?SECTION RELATED | ||
+ | ?SECTION INVALID | ||
+ | ?SECTION UNTRACKED | ||
+ | ?SECTION NEW | ||
+ | |||
+ | ACCEPT net $FW icmp 8 | ||
+ | ACCEPT net $FW tcp 22 | ||
+ | ACCEPT net $FW tcp 80 | ||
+ | ACCEPT net $FW tcp 443 | ||
</ | </ | ||
informatique/reseau/shorewall.1615568456.txt.gz · Dernière modification : 12/03/2021 18:00 de cyrille