· 7 years ago · Aug 14, 2018, 05:58 AM
1/* connection class for server operators */
2class {
3 name opers;
4 pingfreq 90;
5 maxsendq 500000; # 500KB limit for opers
6};
7
8/* the server administrator */
9oper {
10 name Nivle; # Username
11 passwd Elvin12345; # Password
12 access OAaRD; # Server Administrator
13 host *@192.168.*.*; # Must be connecting from here
14 host *@10.0.2.*; # Or from here
15 host *@*; # Or here
16 // insert other other hostmasks here
17 class opers; # Belongs in the opers class
18};
19
20/* for services */
21super {
22 "services.airpak-express.com";
23 "stats.airpak-express.com";
24 // insert any other special servers here
25
26};
27
28/* reserved nicknames */
29restrict { type nick; mask "NickServ"; reason "reserved for services"; };
30restrict { type nick; mask "ChanServ"; reason "reserved for services"; };
31restrict { type nick; mask "MemoServ"; reason "reserved for services"; };
32restrict { type nick; mask "RootServ"; reason "reserved for services"; };
33restrict { type nick; mask "OperServ"; reason "reserved for services"; };
34restrict { type nick; mask "StatServ"; reason "reserved for services"; };
35restrict { type nick; mask "HelpServ"; reason "reserved for services"; };
36restrict { type nick; mask "services"; reason "reserved for services"; };
37
38
39/* === these next two blocks are for linking to a hub === */
40
41/* class for uplink hub */
42class {
43 name hub;
44 pingfreq 120; # Idle check every 2 minutes
45 connfreq 300; # Try autoconnect every 5 minutes
46 maxsendq 1000000; # 1MB send queue
47 maxlinks 1; # Autoconnect to only 1 hub at a time
48};
49
50/* our uplink hub */
51connect {
52 name irc.dal.net; # Hub's IRC name
53 host 172.16.4.2; # Hub's IP address
54 port 7325; # Autoconnect to hub's port 7325
55 bind 192.168.1.122; # We connect from this IP
56 apasswd ; # We accept this password from hub
57 cpasswd ; # We send this password to hub
58 flags H; # It is a hub
59 class hub; # Use hub class
60};
61
62
63/* === these next two blocks are for linking to services === */
64
65/* class for services */
66class {
67 name services;
68 pingfreq 60; # Idle check every minute
69 maxsendq 5000000; # 5MB backlog buffer
70};
71
72/* our services */
73connect {
74 name services.airpak-express.com; # Services' IRC name
75 host 192.168.1.122; # IP address services connects from
76 apasswd ; # Password services sends
77 cpasswd ; # Same password
78 class services;
79};