1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Increase glorytun TCP timeout

This commit is contained in:
Ycarus 2018-05-30 17:39:29 +02:00
parent 2e463cb8c0
commit 68da1a36a1
2 changed files with 2 additions and 5 deletions

View file

@ -64,7 +64,7 @@ start_instance() {
procd_append_param command \
retry count -1 const 5000000 \
timeout 9000 \
timeout 10000 \
keepalive count 5 idle 60 interval 2
procd_set_param respawn 0 30 0

View file

@ -15,10 +15,7 @@ uci -q batch <<-EOF >/dev/null
delete network.glorytun=interface
set network.glorytun=interface
set network.glorytun.ifname=tun0
# set network.glorytun.proto=static
# set network.glorytun.ipaddr=10.0.0.2
# set network.glorytun.netmask=255.255.255.0
# set network.glorytun.gateway=10.0.0.1
set network.glorytun.proto=dhcp
set network.glorytun.ip4table=vpn
set network.glorytun.multipath=off
set network.glorytun.leasetime=12h