mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Increase glorytun TCP timeout
This commit is contained in:
parent
2e463cb8c0
commit
68da1a36a1
2 changed files with 2 additions and 5 deletions
|
@ -64,7 +64,7 @@ start_instance() {
|
||||||
|
|
||||||
procd_append_param command \
|
procd_append_param command \
|
||||||
retry count -1 const 5000000 \
|
retry count -1 const 5000000 \
|
||||||
timeout 9000 \
|
timeout 10000 \
|
||||||
keepalive count 5 idle 60 interval 2
|
keepalive count 5 idle 60 interval 2
|
||||||
|
|
||||||
procd_set_param respawn 0 30 0
|
procd_set_param respawn 0 30 0
|
||||||
|
|
|
@ -15,10 +15,7 @@ uci -q batch <<-EOF >/dev/null
|
||||||
delete network.glorytun=interface
|
delete network.glorytun=interface
|
||||||
set network.glorytun=interface
|
set network.glorytun=interface
|
||||||
set network.glorytun.ifname=tun0
|
set network.glorytun.ifname=tun0
|
||||||
# set network.glorytun.proto=static
|
set network.glorytun.proto=dhcp
|
||||||
# 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.ip4table=vpn
|
set network.glorytun.ip4table=vpn
|
||||||
set network.glorytun.multipath=off
|
set network.glorytun.multipath=off
|
||||||
set network.glorytun.leasetime=12h
|
set network.glorytun.leasetime=12h
|
||||||
|
|
Loading…
Reference in a new issue