Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@lahaxearnaud
Created November 6, 2018 05:57
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 lahaxearnaud/9fb238d492d0827caf1c30c9e71136b5 to your computer and use it in GitHub Desktop.
Save lahaxearnaud/9fb238d492d0827caf1c30c9e71136b5 to your computer and use it in GitHub Desktop.
apt-get install shorewall shorewall-doc
# on va dans le HOME
cd ~
# Copie de la doc one-interface
cp -r /usr/share/doc/shorewall/examples/one-interface ~
#on va dans la doc one-interface
cd one-interface/
# on met en place les configs de base
cp interfaces policy zones rules /etc/shorewall/
# retour au home
cd ~
# suppression de la doc du home
rm -r one-interface/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment