Linking servers (genlinkblock)

If you are linking two UnrealIRCd 6 servers *NIX (not on Windows) then linking is very easy.

''NOTE: The process below is quick and easy and mostly automatic. If you don't want this and prefer to learn everything about linking then see Tutorial: Linking servers.''

On side A
Run the command  on the shell of server A (irc1.example.org in this case): irc@irc1.example.org:~/unrealircd$ ./unrealircd genlinkblock

Add the following link block to the unrealircd.conf on the OTHER side of the link (so NOT in the unrealircd.conf on THIS machine). Here it is, just copy-paste: link irc1.example.org { incoming { mask *; }   outgoing { hostname irc1.example.org; port 6900; options { tls; autoconnect; } }   password "..." { spkifp; } class servers; }

Do what it says and copy-paste the link block to server B (so the other server!)

NOTE: If the hostname in link::outgoing::hostname does not actually exist in your case (eg: because you have not bought or registered the domain yet), then you may have to modify it to be the IP address of server A, like:

On side B
Run the same command on the shell of server B: irc@irc2.example.org:~/unrealircd$ ./unrealircd genlinkblock

Add the following link block to the unrealircd.conf on the OTHER side of the link (so NOT in the unrealircd.conf on THIS machine). Here it is, just copy-paste: link irc2.example.org { incoming { mask *; }   outgoing { hostname irc2.example.org; port 6900; options { tls; autoconnect; } }   password "..." { spkifp; } class servers; }

And copy-paste the outputted link block to server A (so to the server from the previous step).

NOTE: Again, here too. If the hostname in link::outgoing::hostname does not actually exist in your case (eg: because you have not bought or registered the domain yet), then you may have to modify it to be the IP address of server B, like:

Rehash
Now REHASH both servers.

Link!
The servers should now automatically link to each other.

Do you see any errors? Or are the servers not linked? Check out Troubleshooting: linking servers

You can always tell UnrealIRCd to try to link the servers right now by executing (as IRCOp) /CONNECT name.of.other.server. This can be used if you disabled autoconnect, or simply if you don't want to wait ;)