Skip to content

Firewall Rules

Thomas Granbohm edited this page Sep 19, 2020 · 1 revision

There are some ports that need to be forwarded:

  • Postgres: 5432
  • Redis: 6379
  • Lavalink: 2333

If your using Linux, or more specifically UFW, you can create a file in /etc/ufw/applications.d/cubot and paste the entries below.

# /etc/ufw/applications.d/cubot
[Cubot]
title=Cubot
description=Opens all the necessary ports for the bot to run.
ports=2333|5432|6379

Then, run ufw allow Cubot.

Clone this wiki locally