What's new

Closed [tutorial] ⚡how to setup unrealircd on a vps/dedi☀

Status
Not open for further replies.

Surrenderme

Eternal Poster
Joined
Feb 16, 2018
Posts
1,196
Reaction
1,152
Points
412
Age
24
Unrealircd setup

First login to your vps, then do an update:
For CentOs
Code:
yum update
Or Ubuntu
Code:
apt-get update
Or Opensuse
Code:
zypper update

After the update is done, make sure that gcc & make are installed, if not installed you can install them by:
For CentOs
Code:
yum install gcc
Code:
yum install make
Use zypper/apt-get for other distributions as mentioned above.

To open the connections on your vps/dedi:
Code:
vim /usr/sbin/include/bits/typesizes.h
Or if the file is not found on the above location you'll find it on:
Code:
vim /usr/include/bits/typesizes.h
Change 1024 to 10000
Then:
Code:
ulimit -n 10000

Now grep the Unrealircd archive:
Code:
wget chaosaroundtheworld.com/madpew/Unreal3.2.8.1.tar.gz
Extract the archive:
Code:
tar zxvf Unreal3.2.8.1.tar.gz
Go to the Unreal directory
Code:
cd Unreal3.2
Then do the config:
Code:
./Config
Follow the steps and answer the question by just hitting enter till you reach where it asks about how manny connections you want to use (The default is 1024, change it to 10000 and proceed)

After it finishes configuring you do:
Code:
make

After it finishes installing you have to add the unrealircd.conf file in your Unreal3.2 directory
Code:
# ##
# # ME Block #
# ##

me {
name "mad.pwnsyou.net";
info "mad";
numeric 1;
};

# ##
# # Admin Block #
# ##

admin {
"mad";
"contact at what@gmail.com";

};

# ##
# # Class Block #
# ##

class clients
{
pingfreq 90;
maxclients 10000;
sendq 500;
recvq 32000;
};

# ##
# # Allow Block #
# ##

allow {
ip *@*;
hostname *@*;
class clients;
maxperip 2;
};

# ##
# # Listen Block #
# ##

listen *:6667;

{
options
{
serversonly;
};
};

# ##
# # Operator Block #
# ##

oper mad {
class clients;
from {
userhost *@*;
};
password "OPERPASS";
flags "zxcvbnmlkjhgfdsaqewrtyuiopZXCVBNMLKJHGFDSAQEWRTYUIOP";
# flags {
# netadmin;
# global;
# can_rehash;
# can_override;
# };
snomask *;
maxlogins "10";
};

# ##
# # Settings #
# ##

drpass {
restart "change";
die "me";
};

set {
network-name "mad";
default-server "mad.pwnsyou.net";
services-server "services.pwnsyou.net";
help-channel "#help";
hiddenhost-prefix "mad";
cloak-keys {
// Don't use the same keys
"aIRgFoAr1HnF5h5sDb7x4YwA6pW";
"P9FdZnR1gl5sJ7hVz4Zb7x4YwpW";
"OI8r1ZnR6gl3sJ7hVz4Zb7x4YnX";
};

hosts {
local "whatever.net";
global "whatever.net";
coadmin "whatever.net";
admin "whatever.net";
netadmin "whatever.net";
servicesadmin "whatever.net";
host-on-oper-up "yes";
};
};

};
set {
allowed-nickchars {
latin1;
};
kline-address "tano@mad.ro";
modes-on-connect "+wG";
modes-on-oper "+xwgspH";
restrict-usermodes "G";
restrict-channelmodes "G";
modes-on-join "+nmMust";

oper-auto-join "#flood";
dns {
nameserver 127.0.0.1;
timeout 2s;
retries 2;
};
options {
hide-ulines;
show-connect-info;
show-opermotd;
allow-part-if-shunned;
flat-map;
fail-oper-warn;
};

maxchannelsperuser 30;
anti-spam-quit-message-time 100s;
static-quit "mad mymaster.";
oper-only-stats "*";

throttle {
connections 30;
period 60s;
};
anti-flood {
nick-flood 50:60;
};
spamfilter {
ban-time 1d;
ban-reason "Spam/Advertising";
virus-help-channel "#help";
};
default-bantime "0";

};

# ## Modules ##

include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";

# ##
# # Log Block #
# ##

log ircd.log {
maxsize 5MB;
flags {
errors;
kills;
sadmin-commands;
chg-commands;
oper-override;
spamfilter;
kline;
tkl;
};
};

# ##
# # SHIT SHIT Block (NOT NEEDED :D) #
# ##

ban nick {
mask "*S*e*r*v*";
reason "Gesperrt";
};

ulines {
services.super.com;
stats.super.com;
};

#tld {
# mask *@*;
# motd "motd.conf";
# rules "rules.conf";
#};

Edit the above config file and save it.

Now your unreal is ready to start:
Code:
./unreal start

Now you can connect to your server using mIRC or any other Irc client you use
/server ip.of.your.server port(the port you chose in the listen block in the config file.)

This is my first tutorial, hope it helped users understand how to setup their own Irc.

If you have any question feel free to ask and i'll be glad to help.

Thank you.

Peace

menin

Eshkedet


Anonymous :)
436977_FB_IMG_1517016136775.jpg



 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top