· 7 years ago · Aug 14, 2018, 06:40 AM
1# =========================================================================
2# QUICKSTART: server configuration (see reference.conf for details)
3# =========================================================================
4
5/* server name and administration info */
6global {
7 name airpak-express.sg.dal.net; # IRC name of the server
8 info "Your Destination is Our Goal"; # A short info line
9
10 admin {
11 "Airpak Express IRC Server"; #Three line info
12 "Nivle (Administrator)"; # reply
13 "elvinong@airpak-express.com";
14 };
15
16};
17
18/* server options */
19options {
20 network_name Airpak Express IRC Server; # A name is needed even if not linked
21 local_kline elvin@airpak-express.com; # Contact email for server bans
22 show_links; # Show servers in LINKS
23 allow_split_ops; # Give ops in empty channels
24
25 // use these options when services is on the network
26 services_name services.airpak-express.com; # Name of services (NS/CS/MS/RS) server
27 stats_name stats.airpak-express.com; # Name of stats (OS/SS/HS) server
28 network_kline elvin@airpak-express.com; # Contact email for network bans
29 nshelpurl "http://help"; # Nick registration help page
30
31 // if you need to link more than 1 server, uncomment the following line
32 # servtype hub;
33};
34
35/* where to listen for connections */
36port {
37 port 6697; # Port to listen on
38 bind 192.168.1.122; # IP address to listen on
39 #flags S; # allow SSL connections on this port
40};
41
42/* more listening ports */
43port { port 6667; bind 192.168.1.122; };
44port { port 7325; bind 192.168.1.122; };
45port { port 7000; bind 192.168.1.122; };
46
47/* allow clients to connect *
48allow {
49 host *@*; # Allow anyone
50 class users; # Place them in the users class
51};
52
53/* connection class for users */
54class {
55 name users; # Class name
56 maxusers 5000; # Maximum connections
57 pingfreq 90; # Check idle connections every N seconds
58 maxsendq 100000; # 100KB send buffer limit
59};
60
61/* connection class for server operators */
62class {
63 name opers;
64 pingfreq 90;
65 maxsendq 500000; # 500KB limit for opers
66};
67
68/* the server administrator */
69oper {
70 name Nivle; # Username
71 passwd Elvin12345; # Password
72 access OAaRD; # Server Administrator
73 host *@192.168.*.*; # Must be connecting from here
74 host *@10.0.2.*; # Or from here
75 host *@*; # Or here
76 // insert other other hostmasks here
77 class opers; # Belongs in the opers class
78};
79/* for services */
80super {
81 "services.airpak-express.com";
82 "stats.airpak-express.com";
83 // insert any other special servers here
84};
85
86/* reserved nicknames */
87restrict { type nick; mask "NickServ"; reason "reserved for services"; };
88restrict { type nick; mask "ChanServ"; reason "reserved for services"; };
89restrict { type nick; mask "MemoServ"; reason "reserved for services"; };
90restrict { type nick; mask "RootServ"; reason "reserved for services"; };
91restrict { type nick; mask "OperServ"; reason "reserved for services"; };
92restrict { type nick; mask "StatServ"; reason "reserved for services"; };
93restrict { type nick; mask "HelpServ"; reason "reserved for services"; };
94restrict { type nick; mask "services"; reason "reserved for services"; };
95
96
97/* === these next two blocks are for linking to a hub === */
98
99/* class for uplink hub */
100class {
101 name hub;
102 pingfreq 120; # Idle check every 2 minutes
103 connfreq 300; # Try autoconnect every 5 minutes
104 maxsendq 1000000; # 1MB send queue
105 maxlinks 1; # Autoconnect to only 1 hub at a time
106};
107
108/* our uplink hub */
109connect {
110 name irc.dal.net; # Hub's IRC name
111 host 172.16.4.2; # Hub's IP address
112 port 7325; # Autoconnect to hub's port 7325
113 bind 192.168.1.122; # We connect from this IP
114 apasswd ; # We accept this password from hub
115 cpasswd ; # We send this password to hub
116 flags H; # It is a hub
117 class hub; # Use hub class
118};
119
120
121/* === these next two blocks are for linking to services === */
122
123/* class for services */
124class {
125 name services;
126 pingfreq 60; # Idle check every minute
127 maxsendq 5000000; # 5MB backlog buffer
128};
129
130/* our services */
131connect {
132 name services.airpak-express.com; # Services' IRC name
133 host 192.168.1.122; # IP address services connects from
134 apasswd ; # Password services sends
135 cpasswd ; # Same password
136 class services;
137};