|
@@ -64,3 +64,11 @@ sudo systemctl start firewall.service
|
|
|
Mettez en place un système de démarrage utilisant `systemd`.
|
|
Mettez en place un système de démarrage utilisant `systemd`.
|
|
|
|
|
|
|
|
Cette page donne un exemple complet: [How to write startup script for systemd](https://unix.stackexchange.com/questions/47695/how-to-write-startup-script-for-systemd)
|
|
Cette page donne un exemple complet: [How to write startup script for systemd](https://unix.stackexchange.com/questions/47695/how-to-write-startup-script-for-systemd)
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+# TODO
|
|
|
|
|
+
|
|
|
|
|
+- Exemple de portscanner : [GitHub - mfinelli/firewall: Set of bash scripts to generate a firewall in Linux using iptables. Based on: https://wiki.archlinux.org/index.php/Simple_stateful_firewall](https://github.com/mfinelli/firewall)
|
|
|
|
|
+- Vérifier si une règle existe avant de l'appliquer:
|
|
|
|
|
+
|
|
|
|
|
+[How can I check if an iptables rule already exists? - Super User](https://superuser.com/questions/360094/how-can-i-check-if-an-iptables-rule-already-exists)
|