Enable Anope SSL/TLS

If Anope Services are using localhost, than you do NOT need SSL enabled and your services block should look like:

uplink
{
	host = "127.0.0.1"
	ipv6 = no
	ssl = yes
	port = 7000
	password = "changethispass"
}

And this should go in your unrealircd.conf

listen {
    ip 127.0.0.1;
    port 7000;
    options { tls; serversonly; };
};
link services.yourdomain.com {
    incoming {
    mask *@127.0.0.1;
    };
    password "changethispass";
    class servers;
};
ulines { services.yourdomain.com; };

This module provides SSL services to Anope using OpenSSL, for example to connect to the uplink server(s) via SSL.

NOTE: You may only load either m_ssl_openssl or m_ssl_gnutls, not both.

/*
 * m_ssl_openssl [EXTRA]
 *
 * This module provides SSL services to Anope using OpenSSL, for example to
 * connect to the uplink server(s) via SSL.
 *
 */
module
{
        name = "m_ssl_openssl"
 
        /*
         * An optional certificate and key for m_openssl to give to the uplink.
         *
         * You can generate your own certificate and key pair by using:
         *
         *   openssl genrsa -out anope.key 2048
         *   openssl req -new -x509 -key anope.key -out anope.crt -days 1095
         */
        cert = "data/anope.crt"
        key = "data/anope.key"
}

Your anope.crt and anope.key will be generated in the directory you run the commands, make sure they are in data/ directory

To enable m_ssl_openssl modules, follow this steps:

cd anope* (ex: cd anope-2.0.10)
./extras
m_ssl_openssl.cpp and hit enter
q and hit enter
cd build
make && make install

Did this tutorial help? How about buy me a cup of coffee?

  • anope ssl, enable anope ssl, m_ssl_openssl
  • 68 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

How to install Anope Services

Anope is a set of IRC Services designed for flexibility and ease of use. Anope is available in...

How to upgrade Anope 2.x

Anope is an open source set of IRC Services. It is highly modular, with a vast number of...

How to install Anope 2 Modules

Anope Modules are a quick and easy way to add or change the functionality of the main Anope...

Nickname Registration

Nickname RegistrationYour nick is how people on SiSrv know you. If you register it, you'll be...

ChanServ Commands

NOTE: Some IRC servers provide an alias for '/msg ChanServ' where you can use '/cs' or...

Powered by WHMCompleteSolution