Template:Link Block/Body: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<pre<includeonly></includeonly> style="white-space: {{{space|pre-wrap}}}; {{#if:{{{width|}}}|width: {{{width}}};}}"><!--
<!--
{{{1}}} - Name
{{{1}}} - Name
{{{2}}} - Node Type (Hub, Leaf, Chaos Node)
{{{2}}} - Node Type (Hub, Leaf, Chaos Node)
Line 10: Line 10:
{{{9}}} - No incoming connections
{{{9}}} - No incoming connections
{{{10}}} - SPKIFP
{{{10}}} - SPKIFP
-->// {{{5}}}<!--
-->
-->// {{{4}}}
// {{{5}}}
// SID: {{{3}}}
// {{{4}}}
link {{{1}}} {
// SID: {{{3}}}
    incoming {
link {{{1}}} {
        mask *;
    incoming {
    }
        mask *;
    outgoing {
    }
        hostname {{#if:{{{6|}}}|{{{6}}}|{{#if:{{{7}}}|{{{7}}}|{{{1}}}}}}};
    outgoing {
        port {{#if:{{{8|}}}|{{{8}}}|6900}};
        hostname {{#if:{{{6|}}}|{{{6}}}|{{#if:{{{7}}}|{{{7}}}|{{{1}}}}}}};
        options { tls; }
        port {{#if:{{{8|}}}|{{{8}}}|6900}};
    }
        options { tls; }
    password "{{{10}}}" { spkifp; }
    }
    class {{#ifeq:{{{2|}}}|Hub|hubs|servers}};
    password "{{{10}}}" { spkifp; }
}</pre>
    class {{#ifeq:{{{2|}}}|Hub|hubs|servers}};
}

Revision as of 15:46, 16 July 2021

// {{{5}}}
// {{{4}}}
// SID: {{{3}}}
link {{{1}}} {
    incoming {
        mask *;
    }
    outgoing {
        hostname {{{7}}};
        port 6900;
        options { tls; }
    }
    password "{{{10}}}" { spkifp; }
    class servers;
}