1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-14 19:41:51 +00:00

Disable unbound for now, use tunnel for DNS request

This commit is contained in:
Ycarus 2018-03-14 00:07:25 +01:00
parent fd9de47093
commit b5a76da96d
2 changed files with 9 additions and 2 deletions

View file

@ -3,6 +3,7 @@
uci -q batch <<-EOF >/dev/null
set unbound.@unbound[-1].listen_port=5353
set unbound.@unbound[-1].protocol="ip4_only"
set unbound.@unbound[-1].enabled="0"
commit unbound
add_list dhcp.@dnsmasq[-1].server="127.0.0.1#5353"
commit dhcp

View file

@ -1,5 +1,4 @@
config ss_redir hi
option disabled 1
option server 'sss0'
option local_address '::'
option local_port '1100'
@ -11,7 +10,7 @@ config ss_redir hi
option mptcp 1
config ss_rules 'ss_rules'
option disabled 1
option disabled 0
option redir_tcp 'hi'
option redir_udp 'hi'
option src_default 'forward'
@ -25,3 +24,10 @@ config server 'sss0'
option server_port '65101'
option key '************'
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'