mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Disable unbound for now, use tunnel for DNS request
This commit is contained in:
parent
fd9de47093
commit
b5a76da96d
2 changed files with 9 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
set unbound.@unbound[-1].listen_port=5353
|
set unbound.@unbound[-1].listen_port=5353
|
||||||
set unbound.@unbound[-1].protocol="ip4_only"
|
set unbound.@unbound[-1].protocol="ip4_only"
|
||||||
|
set unbound.@unbound[-1].enabled="0"
|
||||||
commit unbound
|
commit unbound
|
||||||
add_list dhcp.@dnsmasq[-1].server="127.0.0.1#5353"
|
add_list dhcp.@dnsmasq[-1].server="127.0.0.1#5353"
|
||||||
commit dhcp
|
commit dhcp
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
config ss_redir hi
|
config ss_redir hi
|
||||||
option disabled 1
|
|
||||||
option server 'sss0'
|
option server 'sss0'
|
||||||
option local_address '::'
|
option local_address '::'
|
||||||
option local_port '1100'
|
option local_port '1100'
|
||||||
|
@ -11,7 +10,7 @@ config ss_redir hi
|
||||||
option mptcp 1
|
option mptcp 1
|
||||||
|
|
||||||
config ss_rules 'ss_rules'
|
config ss_rules 'ss_rules'
|
||||||
option disabled 1
|
option disabled 0
|
||||||
option redir_tcp 'hi'
|
option redir_tcp 'hi'
|
||||||
option redir_udp 'hi'
|
option redir_udp 'hi'
|
||||||
option src_default 'forward'
|
option src_default 'forward'
|
||||||
|
@ -25,3 +24,10 @@ config server 'sss0'
|
||||||
option server_port '65101'
|
option server_port '65101'
|
||||||
option key '************'
|
option key '************'
|
||||||
option method 'aes-256-cfb'
|
option method 'aes-256-cfb'
|
||||||
|
|
||||||
|
config ss_tunnel 'dns'
|
||||||
|
option disabled 0
|
||||||
|
option mode 'tcp_and_udp'
|
||||||
|
option server 'sss0'
|
||||||
|
option local_port '5353'
|
||||||
|
option tunnel_address '8.8.8.8:53'
|
Loading…
Add table
Add a link
Reference in a new issue