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
851 stars 281 forks source link

Running Torghost as service on boot #66

Open BrunoMCBraga opened 4 years ago

BrunoMCBraga commented 4 years ago

Hey guys

Is it possible to run this as a service? I have tried to create a systemd service like so:

Screenshot 2020-02-28 at 17 01 12 Screenshot 2020-02-28 at 17 18 09 Screenshot 2020-02-28 at 17 18 23

However it does not work properly. It fails to start property. Any possibility of turning this into a service?

Thanks

dbstreif commented 4 years ago

make a bash script and place it in init.d then source it.

!bin/bash

sudo torghost --start

dbstreif commented 4 years ago

transforming it into a service is just more complicated in my opinion. I have used my method for so many things, including making scripts that change the time based on location.