summaryrefslogtreecommitdiff
path: root/run_server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run_server.sh')
-rwxr-xr-xrun_server.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/run_server.sh b/run_server.sh
new file mode 100755
index 0000000..50764b1
--- /dev/null
+++ b/run_server.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+sudo -v
+echo 1 | sudo tee /proc/sys/net/ipv4/icmp_echo_ignore_all
+sudo ./server
+echo 0 | sudo tee /proc/sys/net/ipv4/icmp_echo_ignore_all