sudo apt install tor
sudo sed -i 's/#ControlPort/ControlPort/g' /etc/tor/torrc
sudo systemctl start tor
vagrant@localhost:~$ sudo systemctl restart tor
vagrant@localhost:~$ sudo lsof -i -P -n
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd-r 421 systemd-resolve 12u IPv4 14829 0t0 UDP 127.0.0.53:53
systemd-r 421 systemd-resolve 13u IPv4 14830 0t0 TCP 127.0.0.53:53 (LISTEN)
sshd 478 root 3u IPv4 17310 0t0 TCP *:22 (LISTEN)
sshd 478 root 4u IPv6 17321 0t0 TCP *:22 (LISTEN)
systemd-n 873 systemd-network 20u IPv4 20632 0t0 UDP 192.168.121.242:68
sshd 876 root 3u IPv4 20742 0t0 TCP 192.168.121.242:22->192.168.121.1:54140 (ESTABLISHED)
sshd 907 vagrant 3u IPv4 20742 0t0 TCP 192.168.121.242:22->192.168.121.1:54140 (ESTABLISHED)
tor 1312 debian-tor 8u IPv4 25560 0t0 TCP 127.0.0.1:9050 (LISTEN)
tor 1312 debian-tor 9u IPv4 25561 0t0 TCP 127.0.0.1:9051 (LISTEN)
tor 1312 debian-tor 14u IPv4 25581 0t0 TCP 192.168.121.242:58238->144.76.96.6:9001 (ESTABLISHED)
Can I run ALL Linux apps in WSL?
No! WSL is a tool aimed at enabling users who need them to run Bash and core Linux command-line tools on Windows.
WSL does not aim to support GUI desktops or applications (e.g. Gnome, KDE, etc.)
Also, even though you will be able to run many popular server applications (e.g. Redis), we do not recommend WSL for hosting production services – Microsoft offers a variety of solutions for running production Linux workloads in Azure, Hyper-V, and Docker.
we do not recommend WSL for hosting production services – Microsoft offers a variety of solutions for running production Linux workloads in Azure, Hyper-V, and Docker.
Попробуйте прописать
SOCKSPort 9050
в конфиге в явном виде, смените порт для разнообразия.