root@vm04:/# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@vm04:/#apt-get update && apt-get upgrade
root@vm04:/#apt-get install mc screen htop wget curl vim
root@vm04:/#apt-get install build-essential libssl-dev
root@vm04:/# adduser util01
root@vm04:/# su util01
util01@vm04:/$ cd
util01@vm04:~$
util01@vm04:~$ mkdir UNREAL
util01@vm04:~$ cd UNREAL/
util01@vm04:~/UNREAL$
util01@vm04:~/UNREAL$ wget https://www.unrealircd.org/unrealircd4/unrealircd-4.0.17.tar.gz
util01@vm04:~/UNREAL$ tar xvfz unrealircd-4.0.17.tar.gz
util01@vm04:~/UNREAL$ cd unrealircd-4.0.17
util01@vm04:~/UNREAL/unrealircd-4.0.17$
util01@vm04:~/UNREAL/unrealircd-4.0.17$ ./Config
...
If you install UnrealIRCd for the first time on this shell, then just hit Enter
[] -> [Entrée]
...
In what directory do you want to install UnrealIRCd?
[/home/util01/unrealircd] -> [Entrée]
...
What should the default permissions for your configuration files be? (Set this to 0 to disable)
[0600] -> [Entrée]
...
If you want, you can manually enter the path to OpenSSL/LibreSSL here.
[] -> [Entrée]
...
Do you want to enable remote includes?
[No] -> [Entrée]
...
Do you want to enable prefixes for chanadmin and chanowner?
[Yes] -> [Entrée]
...
How far back do you want to keep the nickname history?
[2000] -> [Entrée]
...
What is the maximum sendq length you wish to have?
[3000000] -> [Entrée]
...
How many file descriptors (or sockets) can the IRCd use?
[1024] -> [Entrée]
...
Would you like to pass any custom parameters to configure?
[] -> [Entrée]
...
Après la phase de compilation :
...
Do you want to generate an SSL certificate for the IRCd?
Only answer No if you already have one.
[Yes] -> [Entrée]
...
util01@vm04:~/UNREAL/unrealircd-4.0.17$ make
util01@vm04:~/UNREAL/unrealircd-4.0.17$ make install
util01@vm04:~/UNREAL/unrealircd-4.0.17$ cd /home/util01/unrealircd
util01@vm04:~/unrealircd$
util01@vm04:~/unrealircd$ cp conf/examples/example.fr.conf conf/unrealircd.conf
Ouvrir :
conf/unrealircd.conf
Chercher :
me {
name "irc.foonet.com";
info "Serveur FooNet";
sid "001";
};
Remplacer par :
me {
name "irc.labak.xyz";
info "Serveur irc LabAk";
sid "001";
};
Chercher :
admin {
"Bob Smith";
"bob";
"adresse.email@foonet.com";
};
Remplacer par :
admin {
"Le Sanglier des Ardennes";
"LeSanglier";
"lesanglierdesardennes@gmail.com";
};
Chercher :
oper bobsmith {
class opers;
mask *@*;
password "test";
/* Les permissions Oper sont d finies dans un bloc 'operclass'.
* Voir https://www.unrealircd.org/docs/Operclass_block
* UnrealIRCd est fourni avec des classes par d faut, voir la doc
* pour une liste compl te. Nous avons choisi 'netadmin' ici.
*/
operclass netadmin;
swhois "est un Administrateur du R seau";
vhost netadmin.mynet.org;
};
Remplacer par :
oper administrateur {
class opers;
mask *@*;
password "mot2passe";
/* Les permissions Oper sont d finies dans un bloc 'operclass'.
* Voir https://www.unrealircd.org/docs/Operclass_block
* UnrealIRCd est fourni avec des classes par d faut, voir la doc
* pour une liste compl te. Nous avons choisi 'netadmin' ici.
*/
operclass netadmin;
swhois "est un Administrateur du R seau";
vhost netadmin.mynet.org;
};
Chercher :
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"et une autre";
"et une troisi me";
};
Remplacer par :
# apt-get install pwgen
# pwgen
cloak-keys {
"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";
"aiN5CheeBuogh0jo";
"eChah7foaKoh3coa";
};
Chercher :
kline-address "indiquez.une.adresse.email";
Remplacer par :
kline-address "lesanglierdesardennes@gmail.com";
util01@vm04:~/unrealircd$ ./unrealircd start
Starting UnrealIRCd
...
Loading IRCd configuration..
Configuration loaded without any problems.
Initializing SSL..
Dynamic configuration initialized.. booting IRCd.
UnrealIRCd is now listening on the following addresses/ports:
IPv4: *:6900(SSL), *:6697(SSL), *:6667
IPv6: *:6900(SSL), *:6697(SSL), *:6667
UnrealIRCd started.
root@server01lxc:/home/admin# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 6900 -j DNAT --to-destination 10.0.3.14:6900
root@server01lxc:/home/admin# iptables -t nat -A PREROUTING -i eth0 -p udp --dport 6900 -j DNAT --to-destination 10.0.3.14:6900
root@server01lxc:/home/admin# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 6697 -j DNAT --to-destination 10.0.3.14:6697
root@server01lxc:/home/admin# iptables -t nat -A PREROUTING -i eth0 -p udp --dport 6697 -j DNAT --to-destination 10.0.3.14:6697
root@server01lxc:/home/admin# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 6667 -j DNAT --to-destination 10.0.3.14:6667
root@server01lxc:/home/admin# iptables -t nat -A PREROUTING -i eth0 -p udp --dport 6667 -j DNAT --to-destination 10.0.3.14:6667
$ irssi --connect=irc.labak.xyz
...
14:27 -!- Your host is irc.labak.xyz, running version UnrealIRCd-4.0.17
14:27 -!- This server was created Fri Mar 2 2018 at 12:39:36 UTC
...
Installation d’un serveur IRC : http://rockstarninja.saventurier.science/installation-dun-serveur-irc/ UnrealIRCd The next generation IRCD : https://www.unrealircd.org/ Créer son serveur IRC avec Unrealircd : https://www.blogmania.fr/index.php/creer-son-serveur-irc UnrealIRCD:Installer depuis les sources : https://wiki.eggdrop.fr/UnrealIRCD:Installer_depuis_les_sources