[tor-talk] /etc/hosts for .onion

grarpamp grarpamp at gmail.com
Wed Sep 13 05:33:09 UTC 2017


On Mon, Sep 11, 2017 at 7:56 AM, Alec Muffett <alec.muffett at gmail.com>
TOPPOSTED:
> This is not exactly what you are asking for, but I cover something similar,
> using /etc/hosts and virtual network interfaces:
>
> https://github.com/alecmuffett/the-onion-diaries/blob/master/basic-production-onion-server.md

> On 11 Sep 2017 1:21 pm, "Jason S. Evans" <jsevans at gardeng.nom.es> wrote:
> One of the things that I've been working on lately is getting salt-ssh
> working over tor. The salt-minion, by default, looks for the salt-
> master using the hostname, "salt". I know that I can manually change
> that to xxxxxxxx.onion but I would like to know if anyone knows how of
> a way in *nix to alias local hostnames to .onion names the same way
> that /etc/hosts does that with local names and IP addresses.

You can run OnionCat, and then add to /etc/hosts:
<IPv6/128 addr> salt

You might be able to do something with MAPADDRESS.

See also: https://mosh.org/


More information about the tor-talk mailing list