This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################### | |
# This Script creates a service and a dedicated user # | |
# for running sheepit-client (www.sheepit.com) on a headless # | |
# Linux-Server # | |
# # | |
# Author of this script is: [email protected] # | |
############################################################### | |
############################################################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
######################### | |
## returns: | |
# 0 - success | |
# 1 - success : Requires reboot | |
# 2 - updated failed | |
# 3 - upgrade failed | |
# 4 - dist-upgrade failed | |
# 5 - autoremove failed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*filter | |
:OUTPUT ACCEPT [0:0] | |
:FORWARD DROP [0:0] | |
:UDP - [0:0] | |
:INPUT DROP [0:0] | |
:TCP - [0:0] | |
:ICMP - [0:0] | |
# Acceptable TCP traffic | |
-A TCP -p tcp --dport 22 -j ACCEPT | |
-A TCP -p tcp --dport 10000 -j ACCEPT |
NewerOlder