mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fixes for glorytun
This commit is contained in:
parent
f3f3d49fab
commit
d37db6fa15
3 changed files with 13 additions and 9 deletions
|
@ -59,14 +59,15 @@ start_instance() {
|
|||
keyfile /tmp/${PROG_NAME}-${1}.key \
|
||||
${port:+port "$port"} \
|
||||
${host:+host "$host"} \
|
||||
${bind:+bind} \
|
||||
${bindport:+bind-port}
|
||||
${dev:+dev "$dev"} \
|
||||
${mtu:+mtu "$mtu"} \
|
||||
${mtuauto:+mtu-auto} \
|
||||
${chacha20:+chacha20} \
|
||||
${bind:+bind "$bind"} \
|
||||
${bindport:+bind-port "$port"} \
|
||||
v4only
|
||||
|
||||
[ "${mtuauto}" = "1" ] && procd_append_param command mtu-auto
|
||||
[ "${chacha20}" = "1" ] && procd_append_param command chacha20
|
||||
|
||||
procd_set_param respawn 0 30 0
|
||||
procd_set_param file /tmp/${PROG_NAME}-${1}.key
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue