Skip to content

Download Patches

After you have installed CSF, ConfigServer WebUI, and enabled both lfd and csf services; it's now time to run the patcher. The patcher will check your current configuration, and add a series of iptable rules so that apps like Docker and OpenVPN can communicate with the outside world and users can access your services.


About

The patcher includes several patches:

Docker

Allows for you to restart CSF without having to restart your docker containers. Scans every container you have set up in docker and adds a whitelist firewall rule. Automatically enables CSF Docker Mode.

OpenVPN

Allows VPN clients to connect to your OpenVPN server without being blocked by the CSF firewall.




Download

Within your server, change to whatever directory where you want to download the patcher:

cd $HOME/Documents


Next, ensure you have the package git installed so that we can use it to fetch the patch:

sudo apt-get install git


Clone the patch repo:

git clone https://github.com/Aetherinox/csf-firewall.git


Finally, set new permissions on the patcher's install.sh file by running the command:

sudo chmod +x /patch/install.sh


The patcher is now on your system and ready to run. However, before we run the patcher; there are a few things that need to be configured. Do not run the patch yet.

Proceed to the Configure section.




Next Steps

Instructions for configuring the patches included