Hi,
is it possible to use TOR for all the apps in a Windows 10 desktop?
Hi,
is it possible to use TOR for all the apps in a Windows 10 desktop?
Iâm not sure about all apps, but Tor Browser sets up a SOCKS server at localhost:9150
, and standalone Tor client sets it up at localhost:9050
. You can go to your appâs proxy settings and use it.
To use Tor system-wide, as opposed to just particular apps, you could set up Tor at a separate machine (say, your router or a microcomputer (Raspberry Pi)), and then go to Windows proxy settings, and use that.
Another way to use Tor system-wide is through Tails OS or Whonix, though those are, of course, not Windows.
Those are just off the top of my head, and I am sure better guides can be found on the internet.
Yes and no. You can route all traffic from a machine through tor, for example by using whonix or tor on an openwrt router. But since tor doesnât support udp some things might not work. Also a standard windows desktop wouldnât be good for privacy. So it is really just useful for censorship circumvention.
Configure tor expert bundle to work as SOCKS proxy. Then you can use tun2socks to make tunnel that will forward all traffic through this proxy.
yes you can route all traffic. Check out the Windows proxy settings. Set it up and point it to your Tor proxy. Hope this helps
Setting Windows system proxy will not route all traffic in the system. It will only route traffic of apps that support windows system proxy. In some apps you need to configure proxy manually, some apps doesnât support proxy at all. You can only route all traffic by turning proxy to TAP adapter and routing all traffic except torâs traffic through this TAP adapter.
Iâm pretty sure this will not work on the localhost instance of Tor, because Windows would try to redirect Torâs traffic through the Torâs own tunnel.
Yup, my bad this setup wonât work⌠thank you all for the correction
How about for the Windows app âconsoleâ at first?
Please clarify.
Possibly https://www.torbox.ch/ might be of help. AFAIK their âtorbox miniâ catches every traffic to the internet and if you turn off all other interfaces (eth/wlan/âŚ) no IP traffic should evade torification.
HTH
For example Iâd like to execute the ping command through TOR browser (localhost:9150 ). Is it possible?
ping
shoudnât work through Tor, because itâs ICMP and not TCP, and Tor is TCP-only. See proxy - Can I ping/send ICMP through TOR? - Super User. curl
should work though, with the --proxy
argument, without a system-wide proxy setup: curl --proxy "socks5://localhost:9150" https://example.com
.
curl --proxy âsocks5://localhost:9150â https://google.com
curl: (97) Canât complete SOCKS5 connection to google.com.
curl --proxy âsocks5://localhost:9150â https://yahoo.com
redirect
Does it mean itâs successful with Yahoo but failed with Google? Why are they different?
If you pass socks5://
to curl, it will resolve google.com
locally, try curl --proxy "socks5h://localhost:9150" https://google.com
?
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:â:-- --:â:-- --:â:-- 0
0 0 0 0 0 0 0 0 --:â:-- --:â:-- --:â:-- 0
0 0 0 0 0 0 0 0 --:â:-- 0:00:01 --:â:-- 0
100 374 100 374 0 0 166 0 0:00:02 0:00:02 --:â:-- 166
100 374 100 374 0 0 166 0 0:00:02 0:00:02 --:â:-- 166
Is it OK?
Yes, you got the response from the Google server.
I tried to use yt-dlp to download a file through TOR:
yt-dlp --proxy âsocks5h://localhost:9150â https://574d536c8e8fc.streamlock.net/opencast_new/smil:engage-player_cc2e95c8-0772-42fa-aaa0-869f41492035_presenter.smil/chunklist_w1955655178_b1488892.m3u8
Error:
[generic] chunklist_w1955655178_b1488892: Requesting header
WARNING: [generic] Could not send HEAD request to Wowza Streaming Engine 4 Perpetual Pro Edition 4.9.1+2 build20241119145805 <urlopen error Tunnel connection failed: 501 Tor is not an HTTP Proxy>
[generic] chunklist_w1955655178_b1488892: Downloading webpage
ERROR: [generic] Unable to download webpage: <urlopen error Tunnel connection failed: 501 Tor is not an HTTP Proxy> (caused by URLError(OSError(âTunnel connection failed: 501 Tor is not an HTTP Proxyâ)))
Whatâs wrong with my usage?
This is getting off-topic.
Maybe yt-dlp is not recognizing it as a SOCKS proxy URL. try socks5
instead of socks5h
. See their docs.