<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">I found this templating tool really easy to use for my torrc:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><a href="https://github.com/tests-always-included/mo" class="">https://github.com/tests-always-included/mo</a></div><div class=""><br class=""></div></blockquote>Invocation is like so:<div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class="">NICKNAME=$NICKNAME mo /tmp/host-config/torrc.mo > /tor/etc/torrc</div></div><div class=""><br class=""></div></blockquote>And the corresponding torrc line is:<div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">Nickname {{NICKNAME}}</div></blockquote><div class=""><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><br class=""></div></blockquote>IPv6 would work the same way.</div><div class=""><br class=""></div><div class="">—mkb<br class=""><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 1, 2018, at 10:54 PM, <a href="mailto:conrad@rockenhaus.com" class="">conrad@rockenhaus.com</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello All,<br class=""><br class="">I haven't had a chance to experiment with it yet, but can I source a<br class="">variable from the tor startup script, let's say the IPv6 address of an<br class="">instance, and define that within torrc as follows<br class=""><br class="">ORPort [$Instance_IPv6_ADDR]:443<br class=""><br class="">I'm sure if it's possible it would of already been done. I just wanted to<br class="">see if there was an easy fix for simplifying templates for end users.<br class=""><br class="">Thanks,<br class=""><br class="">Conrad<br class=""><br class="">--<br class="">Conrad Rockenhaus<br class="">Fingerprint: 8049 CDBA C385 C451 3348 776D 0F72 F2B5 26DA E93F<br class="">Public Key:<br class=""><a href="https://pgp.key-server.io/pks/lookup?op=get&search=0x0F72F2B526DAE93F" class="">https://pgp.key-server.io/pks/lookup?op=get&search=0x0F72F2B526DAE93F</a><br class="">https://www.rockenhaus.com<br class="">------<br class="">Get started with GreyPony Anonymization Today!<br class="">https://www.greyponyit.com<br class=""><br class=""><br class="">_______________________________________________<br class="">tor-relays mailing list<br class="">tor-relays@lists.torproject.org<br class="">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays<br class=""></div></div></blockquote></div><br class=""></div></div></body></html>