Template:Link Block/Body: Difference between revisions

Template page
No edit summary
No edit summary
Line 8: Line 8:
{{{6}}} - IPv4
{{{6}}} - IPv4
{{{7}}} - IPv6
{{{7}}} - IPv6
{{{8}}} - S2S Port
{{{9}}} - No incoming connections
{{{10}}} - SPKIFP
-->
-->
// {{{5}}}
// {{{5}}}
Line 17: Line 20:
     }
     }
     outgoing {
     outgoing {
         hostname {{#if:{{{6|}}}|{{{6}}}|{{#if:{{{7}}}|{{{7}}}|{{{1}}} }} }};
         hostname {{#if:{{{6|}}}|{{{6}}}|{{#if:{{{7}}}|{{{7}}}|{{{1}}}}}}};
         port 6900;
         port {{#if:{{{8|}}}|{{{8}}}|6900}};
         options { tls; }
         options { tls; }
     }
     }
     password "" { spkifp; }
     password "{{{10}}}" { spkifp; }
     class {{#ifeq: {{{2|}}} | Hub | hubs | servers }};
     class {{#ifeq:{{{2|}}}|Hub|hubs|servers}};
}</pre>
}</pre>

Revision as of 15:38, 16 July 2021

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