[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-relays] Question regarding variables in torrc



I found this templating tool really easy to use for my torrc:


Invocation is like so:

NICKNAME=$NICKNAME mo /tmp/host-config/torrc.mo > /tor/etc/torrc

And the corresponding torrc line is:

Nickname {{NICKNAME}}

IPv6 would work the same way.

—mkb


On Aug 1, 2018, at 10:54 PM, conrad@xxxxxxxxxxxxxx wrote:

Hello All,

I haven't had a chance to experiment with it yet, but can I source a
variable from the tor startup script, let's say the IPv6 address of an
instance, and define that within torrc as follows

ORPort [$Instance_IPv6_ADDR]:443

I'm sure if it's possible it would of already been done. I just wanted to
see if there was an easy fix for simplifying templates for end users.

Thanks,

Conrad

--
Conrad Rockenhaus
Fingerprint: 8049 CDBA C385 C451 3348 776D 0F72 F2B5 26DA E93F
Public Key:
https://pgp.key-server.io/pks/lookup?op=get&search=0x0F72F2B526DAE93F
https://www.rockenhaus.com
------
Get started with GreyPony Anonymization Today!
https://www.greyponyit.com


_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays