mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
commit
93279c91b8
4 changed files with 11 additions and 3 deletions
|
@ -29,7 +29,7 @@ config classify
|
||||||
option direction 'both'
|
option direction 'both'
|
||||||
option proto 'udp'
|
option proto 'udp'
|
||||||
option class 'cs6'
|
option class 'cs6'
|
||||||
option dest_port '65001'
|
option dest_port '65001,65301'
|
||||||
option comment 'OMR vpn'
|
option comment 'OMR vpn'
|
||||||
|
|
||||||
config domains
|
config domains
|
||||||
|
|
|
@ -4,7 +4,7 @@ if [ "$(uci -q get network.globals.mptcp_path_manager)" = "" ]; then
|
||||||
set network.globals.multipath='enable'
|
set network.globals.multipath='enable'
|
||||||
set network.globals.mptcp_path_manager='fullmesh'
|
set network.globals.mptcp_path_manager='fullmesh'
|
||||||
set network.globals.mptcp_scheduler='blest'
|
set network.globals.mptcp_scheduler='blest'
|
||||||
set network.globals.congestion='bbr'
|
set network.globals.congestion='cubic'
|
||||||
set network.globals.mptcp_checksum=0
|
set network.globals.mptcp_checksum=0
|
||||||
set network.globals.mptcp_debug=0
|
set network.globals.mptcp_debug=0
|
||||||
set network.globals.mptcp_syn_retries=2
|
set network.globals.mptcp_syn_retries=2
|
||||||
|
|
|
@ -808,6 +808,9 @@ if [ "$(pgrep v2ray)" = "" ] && [ "$(uci -q get v2ray.main.enabled)" = "1" ] &&
|
||||||
sleep 5
|
sleep 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$(uci -q get v2ray.main.enabled)" = "1" ] && [ -f /etc/init.d/v2ray ] && [ "$(pgrep omr-tracker-v2ray)" = "" ]; then
|
||||||
|
/etc/init.d/omr-tracker restart
|
||||||
|
fi
|
||||||
|
|
||||||
set_get_config() {
|
set_get_config() {
|
||||||
local server=$1
|
local server=$1
|
||||||
|
@ -819,6 +822,11 @@ if [ "$(uci -q get shadowsocks-libev.sss0.disabled)" != "1" ] && [ "$(uci -q get
|
||||||
config_foreach set_get_config server
|
config_foreach set_get_config server
|
||||||
uci -q commit openmptcprouter
|
uci -q commit openmptcprouter
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$(uci -q get shadowsocks-libev.sss0.disabled)" != "1" ] && [ "$(uci -q get shadowsocks-libev.sss0.key)" != "" ] && [ "$(uci -q get shadowsocks-libev.sss0.server)" != "" ] && [ "$(uci -q get shadowsocks-libev.sss0.server)" != "192.18.1.3" ] && [ "$(pgrep omr-tracker-ss)" = "" ]; then
|
||||||
|
/etc/init.d/omr-tracker restart
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$(uci -q get glorytun.vpn.enable)" = "1" ] && [ "$(uci -q get glorytun.vpn.key)" = "" ]; then
|
if [ "$(uci -q get glorytun.vpn.enable)" = "1" ] && [ "$(uci -q get glorytun.vpn.key)" = "" ]; then
|
||||||
config_load openmptcprouter
|
config_load openmptcprouter
|
||||||
config_foreach set_get_config server
|
config_foreach set_get_config server
|
||||||
|
|
|
@ -79,7 +79,7 @@ MY_DEPENDS := \
|
||||||
kmod-rt2800-usb kmod-rtl8xxxu kmod-rtl8192cu kmod-net-rtl8192su \
|
kmod-rt2800-usb kmod-rtl8xxxu kmod-rtl8192cu kmod-net-rtl8192su \
|
||||||
!TARGET_mvebu:luci-proto-qmi wpad-basic kmod-mt7601u kmod-rtl8187 \
|
!TARGET_mvebu:luci-proto-qmi wpad-basic kmod-mt7601u kmod-rtl8187 \
|
||||||
luci-app-mlvpn mlvpn 464xlat !TARGET_mvebu:kmod-usb-net-smsc75xx kmod-zram kmod-swconfig swconfig kmod-ipt-nat kmod-ipt-nat6 luci-app-https-dns-proxy kmod-tcp-nanqinlang iptables-mod-ipopt igmpproxy ss iptraf-ng \
|
luci-app-mlvpn mlvpn 464xlat !TARGET_mvebu:kmod-usb-net-smsc75xx kmod-zram kmod-swconfig swconfig kmod-ipt-nat kmod-ipt-nat6 luci-app-https-dns-proxy kmod-tcp-nanqinlang iptables-mod-ipopt igmpproxy ss iptraf-ng \
|
||||||
luci-app-acl block-mount blockd fstools luci-app-shutdown libwebp luci-proto-gre tcptraceroute luci-proto-mbim kmod-rtl8xxxu kmod-ath9k-htc luci-app-ttyd luci-mod-dashboard
|
luci-app-acl block-mount blockd fstools luci-app-shutdown libwebp luci-proto-gre tcptraceroute luci-proto-mbim kmod-rtl8xxxu kmod-ath9k-htc luci-app-ttyd luci-mod-dashboard (TARGET_x86||TARGET_x86_64):rtl8192eu-firmware (TARGET_x86||TARGET_x86_64):r8169-firmware (TARGET_x86||TARGET_x86_64):rtl8188eu-firmware (TARGET_x86||TARGET_x86_64):rtl8192ce-firmware (TARGET_x86||TARGET_x86_64):rtl8192cu-firmware kmod-usb2
|
||||||
# luci-theme-bootstrap luci-theme-openwrt-2020 luci-theme-openwrt luci-app-status
|
# luci-theme-bootstrap luci-theme-openwrt-2020 luci-theme-openwrt luci-app-status
|
||||||
# luci-proto-bonding luci-app-statistics luci-proto-gre
|
# luci-proto-bonding luci-app-statistics luci-proto-gre
|
||||||
# softethervpn5-client softethervpn5-server luci-app-nginx-ha
|
# softethervpn5-client softethervpn5-server luci-app-nginx-ha
|
||||||
|
|
Loading…
Reference in a new issue