brainfucksec / kalitorify

Transparent proxy through Tor for Kali Linux OS
GNU General Public License v3.0
1.04k stars 225 forks source link

Transparent Proxy not Work on Raspberry Pi 3 #20

Closed truesamurai closed 5 years ago

truesamurai commented 5 years ago

I installed Kalitorify on a Raspberry and works fine. I have internet and different IP. After I close Kalitorify I have no internet connection. I see that resolve.conf is deleted. When I restore and try again it happens again.

brainfucksec commented 5 years ago

Hi @sh1va73, thanks for your reporting. Some program seems to have changed the settings of this file. You have resolvconf installed?

truesamurai commented 5 years ago

Yes it is installed and you are correct; it changes the settings of the file somehow.

truesamurai commented 5 years ago

I just tested again on a fresh Kali install on Raspberry Pi 3. My resolv.conf file is again overwritten after starting Kalitorify. After closing Kalitorify then the file is not restored.

brainfucksec commented 5 years ago

Did you install kalitorify as indicated in the README or you run it inside the program folder? Do you receive any errors in the terminal output?

truesamurai commented 5 years ago

I installed like indicated and it gives 1 error : ==> Check Tor network settings Your system is not using Tor!

But Tor is installed as service. This is on Raspberry Pi. I have another installation on VirtualBox and there it is working fine.

brainfucksec commented 5 years ago

In the past there have been similar problems with the Raspberry Pi (related to the kernel and iptables). Here the problem is not only the resolv.conf file but there are iptables errors at startup of proxy. Maybe this solution can help you:

https://forums.kali.org/showthread.php?43649-Solving-iptables-issue-on-Kali-Linux-2019-1-ARM-32-bit-image-(kalitorify-kali-anonsurf)

Check the comments of the post because I don't know if the procedure is correct, about the resolv.conf file, restore it manually with your DNS then install kalitorify.

brainfucksec commented 5 years ago

Since it’s been more than one month, I hope things are working well for you now. I’ll close the issue until we can confirm it’s still happening. I’m happy to continue further discussion whenever needed.