First lets install UFW $ sudo apt-get install ufw Check the Status $ sudo ufw status verbose By default, UFW is disabled so you should see something like this: $ Status: inactive Let’s set your UFW rules back to the defaults so we can be sure that you’ll be able to follow along with this ..
Forticlient – SSLVPN is a VPN Client to connect to Fortigate Devices with minimal effort, packaged here for Ubuntu and Debian. Here- https://hadler.me/linux/forticlient-sslvpn-deb..
How to check if there are blocks in CentOS 7 firewalld # grep -i blocked /var/log/messag..
By default the port 80 for http connection is filtered on Redhat 7 as you can only access this port from the actual localhost and not from any other public host. To open a port 80 on RHEL 7 Linux we need to add an iptables rule. For this RHEL7 uses firewall-cmd. First add your ..
Login as the root user to SSH and run the following commands to install CSF: # wget http://www.configserver.com/free/csf.tgz # tar -xzf csf.tgz # cd csf # sh install.sh If you would like to disable APF+BFD (which you will need to do to avoid conflicts): # sh disable_apf_bfd.sh Now, you can then configure csf and lfd ..
To stop Spam: drop SMTP on port 25, 465 and 587 to prevent further spam from being sent out by running the following commands: # /sbin/iptables -A INPUT -p tcp –dport 25 -j DROP # /sbin/iptables -A OUTPUT -p tcp –dport 25 -j DROP # /sbin/iptables -A INPUT -p tcp –dport 465 -j DROP # ..
on cpanel, use iptables -A cP-Firewall-1-INPUT -s 203.90.xxx.x..
How to add an IP to access the plesk panel and ssh Open flle /etc/sysconfig/iptables: # nano /etc/sysconfig/iptables -A INPUT -s 72.177.xxx.xxx/32 -p tcp -m tcp –dport 8443 -j ACCEPT -A INPUT -s 66.226.xx.xx/32 -p tcp -m tcp –dport 10222 -j ACCEPT Save and restart iptables service iptabl..