summaryrefslogtreecommitdiff
path: root/etc/functions/plonkhost
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/plonkhost')
-rw-r--r--etc/functions/plonkhost3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/functions/plonkhost b/etc/functions/plonkhost
new file mode 100644
index 0000000..3b6cc95
--- /dev/null
+++ b/etc/functions/plonkhost
@@ -0,0 +1,3 @@
+plonkhost () {
+ sudo iptables -I INPUT -s "$1" -j DROP
+}