mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
revert Listen only on local IP for shadowsocks
This commit is contained in:
parent
ca7826dab1
commit
41cb47aedd
4 changed files with 7 additions and 7 deletions
|
@ -39,9 +39,9 @@ set_ipv6_state() {
|
|||
uci -q delete dhcp.lan.dhcpv6
|
||||
uci -q delete dhcp.lan.ra
|
||||
uci -q delete dhcp.lan.ra_default
|
||||
uci -q set shadowsocks-libev.hi.local_address="127.0.0.1"
|
||||
uci -q set shadowsocks-libev.hi.local_address="0.0.0.0"
|
||||
else
|
||||
uci -q set shadowsocks-libev.hi.local_address="::1"
|
||||
uci -q set shadowsocks-libev.hi.local_address="::"
|
||||
fi
|
||||
uci -q commit shadowsocks-libev
|
||||
uci -q commit dhcp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue