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