How to block all traffic exept Tor

6 months ago

The xhost response is not an error message. It works fine. The line in /etc/apt/apt.conf.d/00aptitude does not do anything to Tor browser. It only applies to Ubuntu updates.
You can still make apt-get work through the Tor socks proxy btw. (after starting Tor of course). You'd just need to add the hosts to /etc/hosts.


That depends on what hosts are listed in your /etc/apt/sources.list

6 months ago

ofrester@ubuntu:~$ sudo -i
[sudo] password for ofrester:

root@ubuntu:/home/tor-user/tor-browser_en-US# sudo -u tor-user ./start-tor-browser
Launching Tor Browser Bundle for Linux in /home/tor-user/tor-browser_en-US
No protocol specified
No protocol specified
vidalia: cannot connect to X server :0
Vidalia exited abnormally. Exit code: 1

Can you tell me why?

6 months ago

Yes, you forgot "xhost +" before sudoing. Xhost + changes the access controls of the xserver so programs started by other users can be displayed on it.

6 months ago

I tried, but the sudo apt-get, *.deb connect to internet pass TBB


You are not logged in. Login or register to reply on this thread.