diff --git a/glorytun/init b/glorytun/init index 0aa2ae16b..25992020a 100755 --- a/glorytun/init +++ b/glorytun/init @@ -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 diff --git a/luci-app-glorytun/root/etc/uci-defaults/40_luci-glorytun b/luci-app-glorytun/root/etc/uci-defaults/40_luci-glorytun index c8ffb269d..e5c62a320 100644 --- a/luci-app-glorytun/root/etc/uci-defaults/40_luci-glorytun +++ b/luci-app-glorytun/root/etc/uci-defaults/40_luci-glorytun @@ -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