{"action":"created","issue":{"url":"https://api.github.com/repos/netblue30/firejail/issues/160","labels_url":"https://api.github.com/repos/netblue30/firejail/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/netblue30/firejail/issues/160/comments","events_url":"https://api.github.com/repos/netblue30/firejail/issues/160/events","html_url":"https://github.com/netblue30/firejail/issues/160","id":119107858,"number":160,"title":"Tor profile","user":{"login":"rogshdo","id":16039209,"avatar_url":"https://avatars.githubusercontent.com/u/16039209?v=3","gravatar_id":"","url":"https://api.github.com/users/rogshdo","html_url":"https://github.com/rogshdo","followers_url":"https://api.github.com/users/rogshdo/followers","following_url":"https://api.github.com/users/rogshdo/following{/other_user}","gists_url":"https://api.github.com/users/rogshdo/gists{/gist_id}","starred_url":"https://api.github.com/users/rogshdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogshdo/subscriptions","organizations_url":"https://api.github.com/users/rogshdo/orgs","repos_url":"https://api.github.com/users/rogshdo/repos","events_url":"https://api.github.com/users/rogshdo/events{/privacy}","received_events_url":"https://api.github.com/users/rogshdo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-26T22:48:08Z","updated_at":"2015-11-27T15:30:48Z","closed_at":"2015-11-27T15:30:48Z","body":"Has anyone used firejail to jail Tor? If so, I would be curious to see what your profile looks like! I have seen some discussion of using firejail to run the Tor browser, but I want to run the actual Tor daemon in a jail so that I can proxy other applications through it."},"comment":{"url":"https://api.github.com/repos/netblue30/firejail/issues/comments/160160384","html_url":"https://github.com/netblue30/firejail/issues/160#issuecomment-160160384","issue_url":"https://api.github.com/repos/netblue30/firejail/issues/160","id":160160384,"user":{"login":"netblue30","id":13711990,"avatar_url":"https://avatars.githubusercontent.com/u/13711990?v=3","gravatar_id":"","url":"https://api.github.com/users/netblue30","html_url":"https://github.com/netblue30","followers_url":"https://api.github.com/users/netblue30/followers","following_url":"https://api.github.com/users/netblue30/following{/other_user}","gists_url":"https://api.github.com/users/netblue30/gists{/gist_id}","starred_url":"https://api.github.com/users/netblue30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netblue30/subscriptions","organizations_url":"https://api.github.com/users/netblue30/orgs","repos_url":"https://api.github.com/users/netblue30/repos","events_url":"https://api.github.com/users/netblue30/events{/privacy}","received_events_url":"https://api.github.com/users/netblue30/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T15:30:48Z","updated_at":"2015-11-27T15:30:48Z","body":"For Tor I usually start with the regular firefox profile where I change \"whitelist ~/.mozilla\" with the place where I keep Tor. Let's say I have it in ~/tor-browser_en-US, this is how I start it:\r\n`````\r\n$ cd ~/tor-browser_en-US\r\n$ firejail --profile=~/tor.profile Browser/start-tor-browser & disown\r\n`````\r\nThis takes care of --detach.\r\n\r\nSupport for running other programs using the gateway is in the works. It involves setting a namespace and bringing in the traffic. This is the open issue: https://github.com/netblue30/firejail/issues/108 - it will be very generic, will work for all kind of other programs.\r\n\r\n"}}