Enable IPTables on Rocky Linux 8 Rumi, September 2, 2023 Disabling firewalld You can’t really run the old iptables utilities alongside firewalld. They’re just not compatible. The best way to get around this is to disable firewalld entirely (no need to uninstall it unless you want to) , and reinstall the iptables utilities. Disabling firewalld can be done using these commands: Stop firewalld: systemctl stop firewalld Disable firewalld so it won’t start on boot: systemctl disable firewalld Mask the service so that it can’t be found: systemctl mask firewalld Installing And Enabling iptables Services Next, we need to install the old iptables services and utilities. This is done with the following: dnf install iptables-services iptables-utils This will install everything that is needed to run a straight iptables rule set. Now we need to enable the iptables service to make sure that it starts on boot: systemctl enable iptables Related Administrations Configurations (Linux) iptablesRockyRocky 8
LEMP on Debian 7 December 3, 2016December 3, 2016 Installing MySQL 5 In order to install MySQL, we run apt-get install mysql-server mysql-client You will be asked to provide a password for the MySQL root user – this password is valid for the user root@localhost as well as root@server1.example.com, so we don’t have to specify a MySQL root password… Read More
Build WAF with Reverse Proxy Load Balancer using Nginx November 16, 2022 Getting Started First, it is recommended to update and upgrade all your software packages to the latest version. You can update all of them by running the following command: apt update -y apt upgrade -y Once all the packages are updated, install other required packages with the following command: apt… Read More
Create A Network Bridge on CentOS 7 September 1, 2023 Install Module CentOS 7 comes with bridging module loaded on system boot by default. Use the following command to verify whether the module is loaded or not. # modinfo bridge filename: /lib/modules/3.10.0-327.el7.x86_64/kernel/net/bridge/bridge.ko alias: rtnl-link-bridge version: 2.3 license: GPL rhelversion: 7.2 srcversion: 905847C53FF43DEFAA0EB3C depends: stp,llc intree: Y vermagic: 3.10.0-327.el7.x86_64 SMP mod_unload modversions… Read More