Template:Link Block/Body: Difference between revisions

Template page
No edit summary
No edit summary
Line 3: Line 3:
{{{1}}} - Name
{{{1}}} - Name
{{{2}}} - Node Type (Hub, Leaf, Chaos Node)
{{{2}}} - Node Type (Hub, Leaf, Chaos Node)
{{{3}}} - SID
{{{4}}} - Location
{{{5}}} - Owner
{{{6}}} - IPv4
{{{7}}} - IPv6
-->
-->
// {{{5}}}
// {{{4}}}
// SID: {{{3}}}
link {{{1}}} {
link {{{1}}} {
     incoming {
     incoming {
Line 9: Line 17:
     }
     }
     outgoing {
     outgoing {
         hostname {{{1}}};
         hostname {{#if:{{{6|}}}|{{{6}}}|{{#if:{{{7}}}|{{{7}}}|{{{1}}}}};
         port 6900;
         port 6900;
         options { tls; }
         options { tls; }
     }
     }
     password "" { spkifp; }
     password "" { spkifp; }
     class {{#ifeq: {{{2|}}} | Hub | hubs | servers }}
     class {{#ifeq: {{{2|}}} | Hub | hubs | servers }};
 
 
}</pre>
}</pre>

Revision as of 15:36, 16 July 2021

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