SusmithKrishnan / torghost

TorGhost is an anonymization script. TorGhost redirects all internet traffic through SOCKS5 tor proxy. DNS requests are also redirected via tor, thus preventing DNSLeak. The scripts also disables unsafe packets exiting the system. Some packets like ping request can compromise your identity.
GNU General Public License v3.0
856 stars 281 forks source link

Kali / WSL2 //// IPTables issue when starting daemon #104

Open ring0L opened 3 years ago

ring0L commented 3 years ago

sudo torghost --start [11:53:42] Always check for updates using -u option [11:53:42] Torrc file already configured [11:53:42] Configuring DNS resolv.conf file.. [done] System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down [11:53:42] Stopping tor service [done] [11:53:42] Starting new tor daemon [done] iptables v1.8.5 (nf_tables): Couldn't load match `owner':No such file or directory

Try iptables -h' or 'iptables --help' for more information. iptables v1.8.5 (nf_tables): unknown option "--dport" Tryiptables -h' or 'iptables --help' for more information. iptables v1.8.5 (nf_tables): CHAIN_ADD failed (No such file or directory): chain PREROUTING iptables v1.8.5 (nf_tables): CHAIN_ADD failed (No such file or directory): chain PREROUTING iptables v1.8.5 (nf_tables): CHAIN_ADD failed (No such file or directory): chain PREROUTING iptables v1.8.5 (nf_tables): CHAIN_ADD failed (No such file or directory): chain PREROUTING iptables v1.8.5 (nf_tables): unknown option "--syn" Try iptables -h' or 'iptables --help' for more information. iptables v1.8.5 (nf_tables): Couldn't load matchstate':No such file or directory

Try iptables -h' or 'iptables --help' for more information. iptables v1.8.5 (nf_tables): RULE_APPEND failed (No such file or directory): rule in chain OUTPUT iptables v1.8.5 (nf_tables): RULE_APPEND failed (No such file or directory): rule in chain OUTPUT iptables v1.8.5 (nf_tables): RULE_APPEND failed (No such file or directory): rule in chain OUTPUT iptables v1.8.5 (nf_tables): Couldn't load matchowner':No such file or directory

Try iptables -h' or 'iptables --help' for more information. iptables v1.8.5 (nf_tables): Chain 'REJECT' does not exist Tryiptables -h' or 'iptables --help' for more information. [11:53:42] setting up iptables rules [done] [11:53:42] Fetching current IP... ^Z [2]+ Stopped

heroalbert commented 3 years ago

i having the same problem pls help me

shoeyn commented 3 years ago

If you find replace 'iptables ' with 'iptables-legacy ' before building from source it'll all work in WSL2