diff --git a/frontend/src/pages/xray/OutboundFormModal.vue b/frontend/src/pages/xray/OutboundFormModal.vue index aa22a8a0..b8c72aa3 100644 --- a/frontend/src/pages/xray/OutboundFormModal.vue +++ b/frontend/src/pages/xray/OutboundFormModal.vue @@ -328,6 +328,47 @@ function regenerateWgKeys() { + + + + + + + + + Override Xray's default private-IP block (needed for LAN access through proxy) + + + + + + Rule {{ index + 1 }} + + + + + + {{ x }} + + + + + tcp + udp + tcp,udp + + + + + + + + + + + + diff --git a/web/service/config.json b/web/service/config.json index 8e7fb19a..c8b52d05 100644 --- a/web/service/config.json +++ b/web/service/config.json @@ -30,7 +30,10 @@ "outbounds": [{ "protocol": "freedom", "settings": { - "domainStrategy": "AsIs" + "domainStrategy": "AsIs", + "finalRules": [ + { "action": "allow", "ip": ["geoip:private"] } + ] }, "tag": "direct" },