diff options
Diffstat (limited to 'files/vserver/create_openvpn_interface')
-rwxr-xr-x | files/vserver/create_openvpn_interface | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/files/vserver/create_openvpn_interface b/files/vserver/create_openvpn_interface deleted file mode 100755 index 87d9144..0000000 --- a/files/vserver/create_openvpn_interface +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -DEV="$1" -SUBNET="$2" - -openvpn --mktun --dev "$DEV" -ip link set dev "$DEV" txqueuelen 100 -ifconfig "$DEV" "$SUBNET".1 pointopoint "$SUBNET".2 mtu 1500 -route add -net "$SUBNET".0 netmask 255.255.255.0 gw "$SUBNET".2 - |