[tor-relays] Question regarding variables in torrc

nusenu nusenu-lists at riseup.net
Thu Aug 2 09:40:00 UTC 2018


> 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.

the torrc has no template support AFAIK - you would have to use a
configuration management for that, but maybe the 
torrc %include functionality is somewhat useful for you
 

-- 
https://twitter.com/nusenu_
https://mastodon.social/@nusenu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20180802/9909ae8e/attachment.sig>


More information about the tor-relays mailing list