summaryrefslogtreecommitdiff
path: root/etc/anytun/client2/post-up.sh
diff options
context:
space:
mode:
Diffstat (limited to 'etc/anytun/client2/post-up.sh')
-rwxr-xr-xetc/anytun/client2/post-up.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/anytun/client2/post-up.sh b/etc/anytun/client2/post-up.sh
new file mode 100755
index 0000000..7ba0f90
--- /dev/null
+++ b/etc/anytun/client2/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.2/24
+
+exit 0