This Tutorial will cover the Basic Setup of an Unreal IRC Server.
Download UnrealIRCD Source from http://www.unrealircd.com/
Code:
wget http://www.unrealircd.com/downloads/Unreal3.2.8.1.tar.gz
Decompress the Source
Code:
tar -zxf Unreal3.2.3.tar.gz
Installing and Configuring UnrealIRCD
Code:
cd Unreal3.2
./Config
Answers you should use during the install process:
Code:
anti-spoof protection? No
directory with configuration files? hit enter
path to ircd binary? hit enter
hub or leaf? Hub
hostname? Type the subdomain created earlier
default permissions? 0600
SSL support? No (or Yes if you are a security addict)
IPv6 support? No
enable ziplinks? No (unless you're linking with another IRCD)
enable remote includes? No (again, unless you're linking)
enable prefixes? Yes (totally up to you)
listen backlog? 5 is fine, hit enter
nickname history? 2000 is fine, hit enter
max SendQ length? hit enter
buffer pools? hit enter
file descriptors? hit enter
more parameters? hit enter
Type make to complete the compile process
Copy the example configuration file:
Code:
cp doc/example.conf unrealircd.conf
Set your IRCD info:
Code:
me
{
name "irc.yourdomain.com";
info "your IRC network name";
numeric 1;
};
Show users you're the admin
Code:
admin {
"Your Name";
"Your Nickname";
"your@email.addr";
};
Add an O:Line for yourself
You can edit the one already there
O:Lines define the IRCops
Code:
oper YourNickHere {
class clients;
from {
userhost *@*;
};
password "YourPassHere";
flags
{
netadmin;
can_zline;
can_gzline;
can_gkline;
g lobal;
};
};
Add a C/N Line for IRC Services
Don't edit the link block already there.
C/N Lines allow other IRCDs or IRC Services to link with you
Code:
link services.yourdomain.com
{
username *;
hostname 127.0.0.1;
bind-ip *;
port 7029;
hub *;
password-connect "services";
password-receive "services";
class servers;
options {
};
};
Comment this out with /* */
Code:
/*
link hub.mynet.com
[..etc..]
options {
/* Note: You should not use autoconnect when linking services */
autoconnect;
ssl;
zip;
};
};
*/
Add the U:Line for the IRC Services
You can edit the ulines block already there
Code:
ulines {
services.yourdomain.com;
stats.yourdomain.com;
};
Comment this out with /* */
Code:
/*
tld {
mask *@*.fr;
motd "ircd.motd.fr";
rules "ircd.rules.fr";
};
*/
Network configuration is the most important part
You can use the block already there
Code:
* Network configuration */
set {
network-name "YourNetworkNameHere";
default-server "irc.yourdomain.com";
services-server "services.yourdomain.com";
stats-server "stats.yourdomain.com";
help-channel "#help";
hiddenhost-prefix "hidden";
/* prefix-quit "no"; */
/* Cloak keys should be the same at all servers on the network.
/* [..etc..]
*/
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"90jioIOjhiUIOH877h87UGU898hgF";
"IOjiojiio8990UHUHij89KJBBKU898";
};
/* on-oper host */
hosts {
local "locop.yourdomain.com";
global "ircop.yourdomain.com";
coadmin "coadmin.yourdomain.com";
admin "admin.yourdomain.com";
servicesadmin "csops.yourdomain.com";
netadmin "netadmin.yourdomain.com";
host-on-oper-up "no";
};
};
Server configuration
You can edit the block already there
Code:
/* Server specific configuration */
set {
kline-address "VALID.mail@address.here";
auto-join "#lobby";
modes-on-connect "+ixw";
modes-on-oper "+xwgs";
oper-auto-join "#opers";
dns {
nameserver Your.DNS.IP.Here;
timeout 2s;
retries 2;
};
Your Server is now Ready. Start Server by Typing:
|