krlvm / PowerTunnel

Powerful and extensible proxy server with anti-censorship functionality
GNU General Public License v3.0
1.23k stars 78 forks source link

Not working on Windows 7 without DNSCrypt Proxy #150

Open anjari opened 10 months ago

anjari commented 10 months ago

I'm using PowerTunnel v2.5.2 in Windows 7 and Windows 10.

To make it work in Windows 10, I only need to change the DNS Profile setting from "Custom" to "Cloudflare (DOH)". I use the default value for other settings.

But in Windows 7, the PowerTunnel doesn't work at all (I still can't access the blocked websites). I have tried tweaking the DNS plugin settings and some of main options, but nothing works.

I can only make it work in Windows 7 by running DNSCrypt Proxy first (I use this GUI app with Cisco OpenDNS provider), and then I starts the PowerTunnel server (the plugin's DNS Profile setting doesn't matter in this case, I can set it to the default "Custom" and it will still work fine).

There is no error message at all in the console log:

PowerTunnel version 2.5.2
Powerful and extensible proxy server
(c) krlvm, 2019-2022

> 20:39:31.853 [Thread-3] INFO  i.g.k.p.PowerTunnel - Registered plugin 'DNS' [dns] v1.0.2 (3) by krlvm
20:39:31.853 [Thread-3] INFO  i.g.k.p.PowerTunnel - Registered plugin 'LibertyTunnel' [libertytunnel] v1.0.7 (8) by krlvm
20:39:32.477 [Thread-3] INFO  i.g.k.p.p.d.DNSPlugin - DNS Resolver: 'https://1.1.1.1/dns-query' [dnsOverHttps=true, dnsSec=false, ignoreHosts=false]
20:39:32.477 [Thread-3] INFO  i.g.k.p.p.l.LibertyTunnel - Loading local blacklist...
20:39:32.492 [Thread-3] INFO  i.g.k.p.p.l.LibertyTunnel - Loaded 0 blocked websites
20:39:32.492 [Thread-3] INFO  i.g.k.p.LittleProxyServer - Starting LittleProxy Server...
20:39:32.617 [Thread-3] INFO  o.l.p.i.DefaultHttpProxyServer - Starting proxy at address: /127.0.0.1:8085
20:39:32.695 [Thread-3] INFO  o.l.p.i.DefaultHttpProxyServer - Proxy listening with TCP transport
20:39:33.382 [Thread-3] INFO  o.l.p.i.DefaultHttpProxyServer - Proxy started at address: /127.0.0.1:8085
20:39:33.382 [Thread-3] INFO  i.g.k.p.LittleProxyServer - LittleProxy Server is listening at 127.0.0.1:8085
20:39:33.382 [Thread-3] INFO  i.g.k.p.d.a.DesktopApp - Serving at 127.0.0.1:8085
System proxy initialization has been finished
krlvm commented 10 months ago

Are you connecting to the same network from these two machines? Do you have the same DNS configuration (or lack thereof) in your browsers?

anjari commented 10 months ago

Yes, both connect to same network, and I use same DNS configuration in the browser (I had tried tweaking the secure DNS setting in browser, but nothing works). I have two Windows 7 PC, and both have same issue.