ShadowsocksR-Live / iShadowsocksR

ShadowsocksR (SSRoT) client for iOS
GNU General Public License v3.0
574 stars 326 forks source link

WhatsApp 无法使用 #38

Open iRemark opened 4 years ago

iRemark commented 4 years ago

44B1D2D4E5CF883E993AAF364B6399E3

https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_adb.conf
https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_top500_banlist_ad.conf
https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_top500_banlist.conf
https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_top500_whitelist_ad.conf
https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_top500_whitelist.conf
https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_backcn_ad.conf
https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_backcn.conf
https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_cnip_ad.conf
https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_cnip.conf
https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_direct_banad.conf
https://raw.githubusercontent.com/XWJACK/PotatsoConfig/master/potatso/sr_proxy_banad.conf

添加了代理规则 还是 无法使用,whatsApp 一直提示 '连接中...'

ssrlive commented 4 years ago

各位如果担心会惹上麻烦, 可以通过电邮将 修正 patch 发送到 ssrlivebox(at)gmail(dot)com .

lixinfeng1017 commented 4 years ago

请问各位大佬,WhatsApp的问题解决了吗

ghost commented 3 years ago

引入nekit,实现以下方法即可

let dnsServer = DNSServer(address: IPAddress(fromString: "198.18.0.1")!, port: NEKit.Port(port: 53), fakeIPPool: fakeIPPool)
let resolver = UDPDNSResolver(address: IPAddress(fromString: "114.114.114.114")!, port: NEKit.Port(port: 53))
dnsServer.registerResolver(resolver)
self.interface.register(stack: dnsServer)

DNSServer.currentServer = dnsServer
qinghuawen commented 3 years ago

引入nekit,实现以下方法即可

大佬能把完整的代码贴一下吗, 这个问题困扰好久了, 感谢