Tinc: Difference between revisions
imported>V3vAP m Spelling |
imported>V3vAP Possible fix for bad tinc restarts when using networking.interfaces |
||
Line 68: | Line 68: | ||
<pre># for heinz | <pre># for heinz | ||
networking.interfaces."tinc.private" = [ { address = 10.1.1.25; } ]; | networking.interfaces."tinc.private" = [ { address = 10.1.1.25; } ]; | ||
</pre> | |||
Another author has experienced problems with the network failing to restart when using the above to configure interfaces. | |||
The following snippet '''seems''' to fix that (until perhaps a more proper fix is upstreamed?): | |||
<pre> | |||
systemd.services."network-addresses-tinc.${networkName}".before = [ "tinc.${networkName}.service" ]; | |||
systemd.services."network-link-tinc.${networkName}".before = [ "tinc.${networkName}.service" ]; | |||
</pre> | </pre> | ||
=== tinc-up/tinc-down === | === tinc-up/tinc-down === |