WeeChat uses the xfer module for file transfers and direct connections (similar to the old DCC). If you are behind NAT/firewall, you need to configure a passive port range and do port forwarding.
To make incoming connections use a specific range of ports, configure it like this:
Execute and start WeeChat
weechat
We proceed to enable the range of ports on which we want the connection to take place
/set xfer.network.port_range 10100-10200
Finally, we save the changes made
/save
We recommend visiting the official documentation, where you will find a quick guide on how to add servers, channels and connect to an IRC server.
Configure ports on firewall
After defining them in Weechat, you have to open those same ports in the server's firewall. Make sure you don't have UFW enabled, or allow that range on it.
ufw allow 10100:10200/tcp
We proceed to enable the ports in the client firewall in Clouding.
For more information on how to open specific ports, you can follow the steps in the following article: How to create a firewall rule
Remember, if you have any questions about this or any other issue related to your Clouding servers, do not hesitate to write to soporte@clouding.io We are at your side for whatever you need!