mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Add missing files
This commit is contained in:
parent
ca9daabd14
commit
4b47717168
8 changed files with 61 additions and 0 deletions
8
glorytun-tcp-post.sh
Normal file
8
glorytun-tcp-post.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
. "$(readlink -f "$1")"
|
||||
|
||||
INTF=gt-${DEV}
|
||||
[ -z "$LOCALIP" ] && LOCALIP="10.255.255.1"
|
||||
[ -z "$BROADCASTIP" ] && BROADCASTIP="10.255.255.3"
|
||||
ip link set dev ${INTF} up
|
||||
ip addr add ${LOCALIP}/30 brd ${BROADCASTIP} dev ${INTF}
|
Loading…
Add table
Add a link
Reference in a new issue