Skip to content

Instantly share code, notes, and snippets.

@Hotfirenet
Created December 18, 2016 13:30
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/212dbd7cb479763ef04e509a92407ad1 to your computer and use it in GitHub Desktop.
Save Hotfirenet/212dbd7cb479763ef04e509a92407ad1 to your computer and use it in GitHub Desktop.
#!/bin/sh
wget https://gist.githubusercontent.com/Hotfirenet/583939a027738cbed8b4e8f62390d94a/raw/e126b4d7f0adbf2a1027e3bc362c50020c498dfe/firewall.sh
mv firewall.sh /etc/init.d/firewall
chmod +x /etc/init.d/firewall
/etc/init.d/firewall
update-rc.d firewall defaults
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment