diff --git a/core/root/usr/share/xray/gen_config.uc b/core/root/usr/share/xray/gen_config.uc index 1c0605c1..61a41da8 100644 --- a/core/root/usr/share/xray/gen_config.uc +++ b/core/root/usr/share/xray/gen_config.uc @@ -60,8 +60,8 @@ function inbounds(proxy, config, extra_inbound) { function outbounds(proxy, config, manual_tproxy, bridge, extra_inbound, fakedns) { let result = [ - direct_outbound("direct", null), blackhole_outbound(), + direct_outbound("direct", null), ...dns_server_outbounds(proxy), ...manual_tproxy_outbounds(config, manual_tproxy), ...bridge_outbounds(config, bridge) diff --git a/core/root/www/luci-static/resources/view/xray/core.js b/core/root/www/luci-static/resources/view/xray/core.js index 59ecde18..fe3f8315 100644 --- a/core/root/www/luci-static/resources/view/xray/core.js +++ b/core/root/www/luci-static/resources/view/xray/core.js @@ -223,7 +223,7 @@ return view.extend({ o.value("tcp+local", _("TCP (direct)")); o.value("https", _("DNS over HTTPS")); o.value("https+local", _("DNS over HTTPS (direct)")); - o.default = "UseIP"; + o.default = "udp"; o.modalonly = true; ss.tab('protocol', _('Protocol Settings'));