1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Add glorytun udp server support and a service to set 6in4 tunnel

This commit is contained in:
Ycarus (Yannick Chabanois) 2018-06-01 13:11:58 +00:00
parent a7264f0746
commit 04c961d9ab
13 changed files with 144 additions and 33 deletions

View file

@ -12,7 +12,8 @@ fi
DEV="gt${HOST:+c}-udp-$(basename "$1")"
exec glorytun \
bind $BIND $BIND_PORT
bind $BIND $BIND_PORT \
keyfile "$1".key \
${DEV:+dev "$DEV"} \
${HOST:+to "$HOST" "$PORT"} \
${OPTIONS:+$OPTIONS}