Skip to content

Instantly share code, notes, and snippets.

@Hotfirenet
Last active March 1, 2017 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hotfirenet/a6e164fe1b5d5efc69948ca26ef437fe to your computer and use it in GitHub Desktop.
Save Hotfirenet/a6e164fe1b5d5efc69948ca26ef437fe to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
#on sécurise a minima
wget https://gist.githubusercontent.com/Hotfirenet/cb2a64052b17c02afb54d60eae961104/raw/ca7fd30f086a4ad90ef885395b62951df6f8172c/secure.sh
chmod +x secure.sh
./secure.sh
#on ajoute un nouvel utilisateur
wget https://gist.githubusercontent.com/Hotfirenet/a58ff67ccc98bda81832bb9482209419/raw/835beef17f9a203f118f80a98e733aaf9fbfa75d/add_user.sh
chmod +x add_user.sh
./add_user.sh
#on met en place le firewall
wget https://gist.githubusercontent.com/Hotfirenet/212dbd7cb479763ef04e509a92407ad1/raw/8ff40f2ec82fbf6d57db67295335eef1258a4c0d/mise-en-place-firewall.sh
chmod +x mise-en-place-firewall.sh
./mise-en-place-firewall.sh
rm add_user.sh
rm mise-en-place-firewall.sh
rm secure.sh
rm start_srv.sh
@Hotfirenet
Copy link
Author

correction mineure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment