gfw_resist_HTTPS_proxy icon indicating copy to clipboard operation
gfw_resist_HTTPS_proxy copied to clipboard

serverless json

Open pulsarice opened this issue 10 months ago • 3 comments

Hi What's the purpose of forwarding all packets with destination port of 8443 to internal DNS server?

        "inboundTag": [
          "socks-in",
          "http-in"
        ],
        "type": "field",
        "port": "8443",
        "outboundTag": "dns-out",
        "enabled": true
      }, 

I changed it to port 53 and now all of the udp dns traffic generated by system and apps, will go through Xray-core's internal dns server and I can actually open many websites that were blocked by dns+sni filtering, like google play.

pulsarice avatar Apr 13 '24 02:04 pulsarice

Hi What's the purpose of forwarding all packets with destination port of 8443 to internal DNS server?

        "inboundTag": [
          "socks-in",
          "http-in"
        ],
        "type": "field",
        "port": "8443",
        "outboundTag": "dns-out",
        "enabled": true
      }, 

I changed it to port 53 and now all of the udp dns traffic generated by system and apps, will go through Xray-core's internal dns server and I can actually open many websites that were blocked by dns+sni filtering, like google play.

thank you very much for your suggestion i haven't notice that before. can you please test if this this routing rule actually do anything? i mean if you delete that , still you able to open those site or not?

GFW-knocker avatar Apr 13 '24 18:04 GFW-knocker

Yes I have tested it.

  1. If I keep the original one, on v2rayNG with default configuration of VPN DNS=1.1.1.1, dns requests directly go out to UDP 1.1.1.1:53 and the censorship system sees the plain request and poisons it. it returns the answer 10.10.34.36 or something in 10.10.0.0/16 range for some blocked domains. (I tested it using Net Analyzer app by querying dns).
  2. If I delete the rule, the same happens.
  • in both previous cases, google play application fails to load. (play.google.com website works but not the app)
  1. If I change 8443 to 53 in the aforementioned part, when I try to resolve dns, correct answers return and dns poisoning is bypassed and I can use google play to download and update apps.

pulsarice avatar Apr 13 '24 20:04 pulsarice

@pulsarice nice! fixed. thank you

GFW-knocker avatar Apr 28 '24 19:04 GFW-knocker