1 #-#-#-#-#-#-#-#-#-#-#- SERVER LINK CONFIGURATION -#-#-#-#-#-#-#-#-#-#
3 # Defines which servers can link to this one, and which servers this #
4 # server may create outbound links to. #
6 # ____ _ _____ _ _ ____ _ _ _ #
7 # | _ \ ___ __ _ __| | |_ _| |__ (_)___ | __ )(_) |_| | #
8 # | |_) / _ \/ _` |/ _` | | | | '_ \| / __| | _ \| | __| | #
9 # | _ < __/ (_| | (_| | | | | | | | \__ \ | |_) | | |_|_| #
10 # |_| \_\___|\__,_|\__,_| |_| |_| |_|_|___/ |____/|_|\__(_) #
12 # If you want to link servers to InspIRCd you must load the #
13 # spanningtree module! #
18 # name: The name of the remote server. This must match
19 # the <server:name> value of the remote server.
20 name="hub.example.org"
22 # ipaddr: The IP address of the remote server.
23 # Can also be a hostname, but hostname must resolve.
24 ipaddr="penguin.example.org"
26 # port: The port to connect to the server on.
27 # It must be bound as a server port on the other server.
30 # allowmask: Range of IP addresses to allow for this link.
31 # Can be a CIDR (see example).
32 allowmask="203.0.113.0/24 127.0.0.0/8 2001:db8::/32"
34 # timeout: If defined, this option defines how long the server
35 # will wait to consider the connect attempt failed and try the
36 # failover (see above).
39 # ssl: If defined, this states the SSL profile that will be used when
40 # making an outbound connection to the server. Options are the name of an
41 # <sslprofile> tag that you have defined or one of "openssl", "gnutls",
42 # "mbedtls" if you have not defined any. See the wiki page for the SSL
43 # module you are using for more details.
45 # You will need to load the ssl_openssl module for OpenSSL, ssl_gnutls
46 # for GnuTLS and ssl_mbedtls for mbedTLS. The server port that you
47 # connect to must be capable of accepting this type of connection.
50 # fingerprint: If defined, this option will force servers to be
51 # authenticated using SSL certificate fingerprints. See
52 # http://wiki.inspircd.org/SSL for more information. This will
53 # require an SSL link for both inbound and outbound connections.
56 # bind: Local IP address to bind to.
59 # statshidden: Defines if IP is shown to opers when
60 # /STATS c is invoked.
63 # hidden: If this is set to yes, this server and its "child"
64 # servers will not be shown when users do a /MAP or /LINKS.
67 # passwords: the passwords we send and receive.
68 # The remote server will have these passwords reversed.
69 # Passwords that contain a space character or begin with
70 # a colon (:) are invalid and may not be used.
71 sendpass="outgoing!password"
72 recvpass="incoming!password">
74 # A duplicate of the first link block without comments
75 # if you like copying & pasting.
76 <link name="hub.example.org"
77 ipaddr="penguin.example.org"
79 allowmask="203.0.113.0/24"
85 sendpass="outgoing!password"
86 recvpass="incoming!password">
88 # Link block for services. Options are the same as for the first
89 # link block (depending on what your services package supports).
90 <link name="services.example.com"
93 allowmask="127.0.0.0/8"
95 recvpass="polarbears">
97 # Simple autoconnect block. This enables automatic connection of a server
98 # Recommended setup is to have leaves connect to the hub, and have no
99 # automatic connections started by the hub.
100 <autoconnect period="10m" server="hub.example.org">
102 # Failover autoconnect block. If you have multiple hubs, or want your network
103 # to automatically link even if the hub is down, you can specify multiple
104 # space separated servers to autoconnect; they will be tried in a round
105 # robin fashion until one succeeds. Period defines the time for restarting
107 <autoconnect period="120"
108 server="hub.us.example.org hub.eu.example.org leaf.eu.example.org">
111 #-#-#-#-#-#-#-#-#-#-#-#- ULINES CONFIGURATION #-#-#-#-#-#-#-#-#-#-#-#-#
112 # This tag defines a ulined server. A U-Lined server has special #
113 # permissions, and should be used with caution. Services servers are #
114 # usually u-lined in this manner. #
116 # The 'silent' value, if set to yes, indicates that this server should#
117 # not generate quit and connect notices, which can cut down on noise #
118 # to opers on the network. #
120 <uline server="services.example.com" silent="yes">