<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.freifunk-mwu.de/index.php?action=history&amp;feed=atom&amp;title=Howto%2FTinc-Keys_generieren</id>
	<title>Howto/Tinc-Keys generieren - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.freifunk-mwu.de/index.php?action=history&amp;feed=atom&amp;title=Howto%2FTinc-Keys_generieren"/>
	<link rel="alternate" type="text/html" href="https://wiki.freifunk-mwu.de/index.php?title=Howto/Tinc-Keys_generieren&amp;action=history"/>
	<updated>2026-05-29T19:10:51Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Freifunk MWU Wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://wiki.freifunk-mwu.de/index.php?title=Howto/Tinc-Keys_generieren&amp;diff=9620&amp;oldid=prev</id>
		<title>Florian am 29. Januar 2019 um 18:44 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.freifunk-mwu.de/index.php?title=Howto/Tinc-Keys_generieren&amp;diff=9620&amp;oldid=prev"/>
		<updated>2019-01-29T18:44:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 29. Januar 2019, 18:44 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''ACHTUNG - in unserem Freifunk-Netz nutzen wir inzwischen &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;fast statt &lt;/del&gt;tincd'''  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''ACHTUNG - in unserem Freifunk-Netz nutzen wir inzwischen &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;kein &lt;/ins&gt;tincd &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mehr als VPN, sondern fastd&lt;/ins&gt;'''  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Um mit tincd keys zu generieren benutzt man generell:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Um mit tincd keys zu generieren benutzt man generell:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Florian</name></author>
	</entry>
	<entry>
		<id>https://wiki.freifunk-mwu.de/index.php?title=Howto/Tinc-Keys_generieren&amp;diff=9200&amp;oldid=prev</id>
		<title>Florian: Hinweis, dass wir inzwischen fastd nutzen, eingefügt</title>
		<link rel="alternate" type="text/html" href="https://wiki.freifunk-mwu.de/index.php?title=Howto/Tinc-Keys_generieren&amp;diff=9200&amp;oldid=prev"/>
		<updated>2017-11-06T00:12:54Z</updated>

		<summary type="html">&lt;p&gt;Hinweis, dass wir inzwischen fastd nutzen, eingefügt&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 6. November 2017, 00:12 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'''ACHTUNG - in unserem Freifunk-Netz nutzen wir inzwischen fast statt tincd''' &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Um mit tincd keys zu generieren benutzt man generell:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Um mit tincd keys zu generieren benutzt man generell:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  tincd -K&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  tincd -K&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Florian</name></author>
	</entry>
	<entry>
		<id>https://wiki.freifunk-mwu.de/index.php?title=Howto/Tinc-Keys_generieren&amp;diff=840&amp;oldid=prev</id>
		<title>Prisma: Die Seite wurde neu angelegt: „Um mit tincd keys zu generieren benutzt man generell:  tincd -K  Dann muss man aber manuell den Ort der beiden keys festlegen. Das ist recht hinderlich, wenn m…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.freifunk-mwu.de/index.php?title=Howto/Tinc-Keys_generieren&amp;diff=840&amp;oldid=prev"/>
		<updated>2013-12-13T22:43:36Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Um mit tincd keys zu generieren benutzt man generell:  tincd -K  Dann muss man aber manuell den Ort der beiden keys festlegen. Das ist recht hinderlich, wenn m…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Um mit tincd keys zu generieren benutzt man generell:&lt;br /&gt;
 tincd -K&lt;br /&gt;
&lt;br /&gt;
Dann muss man aber manuell den Ort der beiden keys festlegen. Das ist recht hinderlich, wenn man viele Keys gleichzeitig generieren will.&lt;br /&gt;
Aber zum Glück gibt es [http://expect.sourceforge.net/ expect].&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
 #!/usr/bin/bash&lt;br /&gt;
&lt;br /&gt;
 for i in {1..31}&lt;br /&gt;
 do&lt;br /&gt;
        expect -c &amp;quot;spawn tincd -K&amp;quot; -c &amp;quot;expect \&amp;quot;:\&amp;quot;&amp;quot; -c &amp;quot;send \&amp;quot;/root/tinc_keys/gate$i.priv\r\&amp;quot;&amp;quot; -c &amp;quot;expect \&amp;quot;:\&amp;quot;&amp;quot; -c &amp;quot;send \&amp;quot;/root/tinc_keys/gate$i\r\&amp;quot;&amp;quot; -c &amp;quot;interact&amp;quot;&lt;br /&gt;
        temp=$((i*4))&lt;br /&gt;
        sed -i '1i Subnet=10.37.'&amp;quot;$temp&amp;quot;'.0\/22' /root/tinc_keys/gate$i&lt;br /&gt;
        sed -i '1i Compression=0' /root/tinc_keys/gate$i&lt;br /&gt;
        sed -i '1i Cipher=aes-128-cbc' /root/tinc_keys/gate$i&lt;br /&gt;
        sed -i '1i Address=gate'&amp;quot;$i&amp;quot;'.freifunk-mainz.de' /root/tinc_keys/gate$i&lt;br /&gt;
&lt;br /&gt;
 done&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Expect startet &amp;quot;spawn&amp;quot; tincd -K, wartet auf ein &amp;quot;:&amp;quot; und schreibt dann den pfad des private keys. Danach das selbe wie für den public key. &amp;quot;Interact&amp;quot; ist notwendig, damit die Key Generierung zu ende laufen kann. Damit man die public keys direkt als host definitionen im hosts ordner von tinc verwendet werden können, werden hier auch die sonstigen configs hinzugefügt, indem mit sed eine Zeile eingefügt wird.&lt;/div&gt;</summary>
		<author><name>Prisma</name></author>
	</entry>
</feed>