summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/anytun/server/post-up.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/anytun/server/post-up.sh b/etc/anytun/server/post-up.sh
index e69de29..1a3c443 100644
--- a/etc/anytun/server/post-up.sh
+++ b/etc/anytun/server/post-up.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+ip link set dev $1 up
+ip link set mtu 1400 dev $1
+ip addr add 192.168.123.254/24 dev $1