summaryrefslogtreecommitdiffstats
path: root/Bash
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2016-04-23 09:08:31 +0200
committerThomas Lange <code@nerdmind.de>2016-04-23 09:08:31 +0200
commit92d8e0353f70fdacfab71aaf8facbdbea30b6a57 (patch)
tree10291d7dcbd44548c1fbd4dc7eac37467171079a /Bash
parent33740bc3e49514bbb4abe926957cc805c958f09c (diff)
downloadsnippets-92d8e0353f70fdacfab71aaf8facbdbea30b6a57.tar.gz
snippets-92d8e0353f70fdacfab71aaf8facbdbea30b6a57.tar.xz
snippets-92d8e0353f70fdacfab71aaf8facbdbea30b6a57.zip
Example ports added.
Diffstat (limited to 'Bash')
-rwxr-xr-xBash/iptables-whiteblacklisting.sh16
1 files changed, 11 insertions, 5 deletions
diff --git a/Bash/iptables-whiteblacklisting.sh b/Bash/iptables-whiteblacklisting.sh
index fad15e8..3802bf0 100755
--- a/Bash/iptables-whiteblacklisting.sh
+++ b/Bash/iptables-whiteblacklisting.sh
@@ -21,15 +21,21 @@ MODE='WHITELISTING' # This can only be "WHITELISTING" or "BLACKLISTING"
#===============================================================================
WHITELISTING=(
# SSH
- 'tcp:22'
-
- # DNS
- 'tcp:53'
- 'udp:53'
+ 'tcp:2200'
# HTTP
'tcp:80'
'tcp:443'
+
+ # XMPP
+ 'tcp:5222'
+ 'tcp:5269'
+
+ # TeamSpeak
+ 'udp:9987'
+ 'tcp:30033'
+ 'tcp:10011'
+ 'tcp:41144'
)
#===============================================================================