Tor
如何在 Kali 中更改 Tor 埠
我想將預設的 Tor 埠從 9050 更改為 9150。編輯 /etc/tor/torsocks5.conf 我可以看到這些:
TorPort 9050
所以,換成9150,應該可以了吧?它沒有。
> sudo vi /etc/tor/torsocks.conf > sudo cat /etc/tor/torsocks.conf | grep 9150 TorPort 9150 > sudo service tor reload > sudo service tor restart > sudo service tor status ● tor.service - Anonymizing overlay network for TCP (multi-instance-master) Loaded: loaded (/lib/systemd/system/tor.service; enabled; vendor preset: disabled) Active: active (exited) since Mon 2022-06-27 13:46:11 CEST; 7s ago Process: 43748 ExecStart=/bin/true (code=exited, status=0/SUCCESS) Main PID: 43748 (code=exited, status=0/SUCCESS) CPU: 2ms Jun 27 13:46:11 kali systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)... Jun 27 13:46:11 kali systemd[1]: Finished Anonymizing overlay network for TCP (multi-instance-master). > sudo netstat -tanp | grep tor tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN 43758/tor tcp 0 0 192.168.85.139:36538 178.238.236.41:1337 ESTABLISHED 43758/tor tcp 0 0 192.168.85.139:57824 162.55.131.67:9100 ESTABLISHED 43758/tor
我在做什麼錯?
您要更改的參數是:
SocksPort 0.0.0.0:9150
通常這位於
torrc
文件中。