Somewhat solved. Anonsurf does not work with ufw firewall if I deny incoming. Have to allow incoming. Tor will work with denying incoming in firewall though. Anyway to configure ufw to work with anonsurf?
I ran âps auxâ command while anonsurf is running and the user for tor is âdebian-+â.
Ran âsudo vim /usr/bin/anonsurfâ to edit the file. Changed the line with "TOR_UID=âdebian-torâ to TOR_UID=âdebian-+â and seems to work now.
Does show error when starting though:
iptables v1.8.3 (nf_tables): owner: Bad value for ââuid-ownerâ option: âdebian-+â
Try `iptables -hâ or âiptables --helpâ for more information.
Donât have more time to work on it today. Maybe look into it later.
I ran
$cat /etc/passwd | grep debian-tor
debian-tor:x:112:119::/var/lib/tor:/bin/false
and then I again edited the file using the UID value from above
$sudo vim /usr/bin/anonsurf to edit the file. Changed the line with "TOR_UID=âdebian-torâ to TOR_UID=â112â and seems to work now and no error. Gives me an IP and traceroute looks like going through Tor. Anonsurf is running with UFW firewall denying incoming.