![]() ![]() Replace with your IRC server’s domain name. ![]() sudo ufw allow 80/tcpĭownload the standalone certificate. Certbot verifies your domain information by connecting through this port. sudo ln -s /snap/bin/certbot /usr/bin/certbot sudo snap install -classic certbotĬreate a symbolic link for Certbot. sudo snap install core & sudo snap refresh coreĮnsure that any existing Certbot installation is removed. If you are using Ubuntu, Snap should already be installed (since version 16.04): sudo apt install snapd Snap provides application bundles that work across major Linux distributions. The following steps show you how to use Certbot to request and download a free certificate from Let’s Encrypt and how to use that certificate on your IRC server. While not necessary, using SSL certification on your IRC server significantly increases its security by ensuring that the information it sends and receives is encrypted. Replace example-user and password with the name and password, respectively, that you configured for the operator user. You can then log in as the operator using the /oper command. You can then connect to the server anytime, even after quitting and restarting WeeChat, by using that alias.Ĭonnect to the IRC server using the alias you created: /connect example-irc-alias WeeChat stores the information for connecting to the IRC server under the alias you provide. To quit the WeeChat interface, use the /quit command. Replace with the domain name for your IRC network, and replace example-irc-alias with an alias you would like to store the connection under. weechatĮnter the following command in the WeeChat interface to add your IRC network. Startup WeeChat once the installation is complete. If you want more information on WeeChat and its usage, refer to the Using WeeChat for Internet Relay Chat guide. ![]() There are many options, and this guide uses the popular WeeChat client as an example. ![]() To verify that your IRC server is running properly, you should connect to it using an IRC client. Restart the InspIRCd service for the changes to take effect. If you expect users may frequently use one of these clients, you may also opt to present your rules in the message of the day. The popular client WeeChat, for example, does not support this command. Not all IRC clients support the /rules command. The rules should set expectations for the kinds of behavior you allow on your server. Users can review these with the /rules command. Open the /etc/inspircd/les file, and enter the usage rules for your IRC server. The message of the day is a good place to remind users to review the server’s rules, which you input in the next step. The message of the day displays when users connect to your IRC server and when they use the /motd command. Open the /etc/inspircd/inspircd.motd file, and enter a “message of the day” for your IRC server. You can enter as many address masks as desired, separating each with space. Replace 192.0.2.0 with the IP address for the IRC server, and likewise replace with the machine’s domain name: can restrict access even further by replacing the asterisks ( *) with the username of a specific user on the machine. To make your IRC server more secure, a host value like the example below only allows a user from the IRC network’s localhost, IP address, or domain to log in as the operator. Setting this to as in the example above, allows a user to log in as the operator from any address mask. The host value defines the masks from which a user may log in as the operator. ![]()
0 Comments
Leave a Reply. |