unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Tor Routing
@ 2019-05-02  8:07 Raghav Gururajan
  2019-05-02  8:26 ` znavko
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Raghav Gururajan @ 2019-05-02  8:07 UTC (permalink / raw)
  To: help-guix

Hello Guix!

To route all my system's traffic through by Tor by default, what and how should I declare Tor Service in System Services? I tried the guide but I am not able to understand. I am looking for exact syntax and configuration.

Thank you!

Regards,
RG.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tor Routing
  2019-05-02  8:07 Tor Routing Raghav Gururajan
@ 2019-05-02  8:26 ` znavko
  2019-05-02  8:31 ` Raghav Gururajan
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: znavko @ 2019-05-02  8:26 UTC (permalink / raw)
  To: Raghav Gururajan, help-guix

The command 'torify' from torsocks package (`guix package -i torsocks`) is for you.
Examples: `$ torify filezilla`, `$ torify ssh`.

As for tor-hidden-service declaration in cgit (http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/networking.scm#n781), tor is listening specified ports. So you can add ports in tor-hidden-service as example there.
I've not tried this, cause tor network might fall down, so I use it manually running `tor` in one terminal and `torify ssh ..` in another.
May 2, 2019 8:08 AM, "Raghav Gururajan" <rvgn@disroot.org (mailto:rvgn@disroot.org)> wrote:
 Hello Guix!

To route all my system's traffic through by Tor by default, what and how should I declare Tor
Service in System Services? I tried the guide but I am not able to understand. I am looking for
exact syntax and configuration.

Thank you!

Regards,
RG.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tor Routing
  2019-05-02  8:07 Tor Routing Raghav Gururajan
  2019-05-02  8:26 ` znavko
@ 2019-05-02  8:31 ` Raghav Gururajan
  2019-05-02  8:35 ` znavko
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Raghav Gururajan @ 2019-05-02  8:31 UTC (permalink / raw)
  To: znavko, help-guix

Ah! That's awesome. If I want to route everything, should I do "torify networkmanager"?

May 2, 2019 4:26 AM, znavko@disroot.org (mailto:znavko@disroot.org) wrote:
 The command 'torify' from torsocks package (`guix package -i torsocks`) is for you.
Examples: `$ torify filezilla`, `$ torify ssh`.

As for tor-hidden-service declaration in cgit (http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/networking.scm#n781), tor is listening specified ports. So you can add ports in tor-hidden-service as example there.
I've not tried this, cause tor network might fall down, so I use it manually running `tor` in one terminal and `torify ssh ..` in another.
May 2, 2019 8:08 AM, "Raghav Gururajan" <rvgn@disroot.org (mailto:rvgn@disroot.org)> wrote:

 Hello Guix!

To route all my system's traffic through by Tor by default, what and how should I declare Tor
Service in System Services? I tried the guide but I am not able to understand. I am looking for
exact syntax and configuration.

Thank you!

Regards,
RG.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tor Routing
  2019-05-02  8:07 Tor Routing Raghav Gururajan
  2019-05-02  8:26 ` znavko
  2019-05-02  8:31 ` Raghav Gururajan
@ 2019-05-02  8:35 ` znavko
  2019-05-02  8:57 ` Raghav Gururajan
  2019-05-03  9:40 ` Ludovic Courtès
  4 siblings, 0 replies; 6+ messages in thread
From: znavko @ 2019-05-02  8:35 UTC (permalink / raw)
  To: Raghav Gururajan, help-guix

No, I think it is quite different stuff. Networkmanager is a service. But torify is used for programs.
Do you know how to configure icecat or ungoogled-chromium to use tor?
for ungoogled-chromium: https://lists.gnu.org/archive/html/help-guix/2019-04/msg00063.html
for icecat: https://wiki.gentoo.org/wiki/Tor#Firefox

May 2, 2019 8:30 AM, "Raghav Gururajan" <rvgn@disroot.org (mailto:rvgn@disroot.org?to=%22Raghav%20Gururajan%22%20<rvgn@disroot.org>)> wrote:
Ah! That's awesome. If I want to route everything, should I do "torify networkmanager"?

May 2, 2019 4:26 AM, znavko@disroot.org (mailto:znavko@disroot.org) wrote:
 The command 'torify' from torsocks package (`guix package -i torsocks`) is for you.
Examples: `$ torify filezilla`, `$ torify ssh`.

As for tor-hidden-service declaration in cgit (http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/networking.scm#n781), tor is listening specified ports. So you can add ports in tor-hidden-service as example there.
I've not tried this, cause tor network might fall down, so I use it manually running `tor` in one terminal and `torify ssh ..` in another.
May 2, 2019 8:08 AM, "Raghav Gururajan" <rvgn@disroot.org (mailto:rvgn@disroot.org)> wrote:
 Hello Guix!

To route all my system's traffic through by Tor by default, what and how should I declare Tor
Service in System Services? I tried the guide but I am not able to understand. I am looking for
exact syntax and configuration.

Thank you!

Regards,
RG.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tor Routing
  2019-05-02  8:07 Tor Routing Raghav Gururajan
                   ` (2 preceding siblings ...)
  2019-05-02  8:35 ` znavko
@ 2019-05-02  8:57 ` Raghav Gururajan
  2019-05-03  9:40 ` Ludovic Courtès
  4 siblings, 0 replies; 6+ messages in thread
From: Raghav Gururajan @ 2019-05-02  8:57 UTC (permalink / raw)
  To: znavko, help-guix

I didn't know. Cool, I will check out the links. Thank you very much.

May 2, 2019 4:35 AM, znavko@disroot.org (mailto:znavko@disroot.org) wrote:
No, I think it is quite different stuff. Networkmanager is a service. But torify is used for programs.
Do you know how to configure icecat or ungoogled-chromium to use tor?
for ungoogled-chromium: https://lists.gnu.org/archive/html/help-guix/2019-04/msg00063.html (https://lists.gnu.org/archive/html/help-guix/2019-04/msg00063.html)
for icecat: https://wiki.gentoo.org/wiki/Tor#Firefox (https://wiki.gentoo.org/wiki/Tor#Firefox)

May 2, 2019 8:30 AM, "Raghav Gururajan" <rvgn@disroot.org (mailto:rvgn@disroot.org?to=%22Raghav%20Gururajan%22%20<rvgn@disroot.org>)> wrote:
Ah! That's awesome. If I want to route everything, should I do "torify networkmanager"?

May 2, 2019 4:26 AM, znavko@disroot.org (mailto:znavko@disroot.org) wrote:
 The command 'torify' from torsocks package (`guix package -i torsocks`) is for you.
Examples: `$ torify filezilla`, `$ torify ssh`.

As for tor-hidden-service declaration in cgit (http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/networking.scm#n781), tor is listening specified ports. So you can add ports in tor-hidden-service as example there.
I've not tried this, cause tor network might fall down, so I use it manually running `tor` in one terminal and `torify ssh ..` in another.
May 2, 2019 8:08 AM, "Raghav Gururajan" <rvgn@disroot.org (mailto:rvgn@disroot.org)> wrote:Hello Guix!

To route all my system's traffic through by Tor by default, what and how should I declare Tor
Service in System Services? I tried the guide but I am not able to understand. I am looking for
exact syntax and configuration.

Thank you!

Regards,
RG.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tor Routing
  2019-05-02  8:07 Tor Routing Raghav Gururajan
                   ` (3 preceding siblings ...)
  2019-05-02  8:57 ` Raghav Gururajan
@ 2019-05-03  9:40 ` Ludovic Courtès
  4 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2019-05-03  9:40 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: help-guix

Hello,

"Raghav Gururajan" <rvgn@disroot.org> skribis:

> To route all my system's traffic through by Tor by default, what and
> how should I declare Tor Service in System Services? I tried the guide
> but I am not able to understand. I am looking for exact syntax and
> configuration.

Note that adding the Tor service is not enough to route all your
traffic through Tor.  It simply add a service to run the Tor daemon,
which in turn allows you to browse with IceCat through Tor (just click
on the Tor Button in the IceCat interface.)

A config with the service should look like this:

  (use-service-modules networking)

  (operating-system
    ;; Here you have the rest of your config…
    ;; […]
    ;; And below you add the Tor service to your current
    ;; list of system services:
    (services (append (list (service tor-service-type))
                      %base-services)))

HTH,
Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-03  9:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-02  8:07 Tor Routing Raghav Gururajan
2019-05-02  8:26 ` znavko
2019-05-02  8:31 ` Raghav Gururajan
2019-05-02  8:35 ` znavko
2019-05-02  8:57 ` Raghav Gururajan
2019-05-03  9:40 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).