File manager - Edit - /home/ferretapmx/public_html/firewall.tar
Back
etc/rc.d/init.d/firewall 0000755 00000001417 15231106772 0011074 0 ustar 00 #!/bin/sh # description: Start/stop Firewall # chkconfig: 2345 99 99 if [[ -e /etc/csf/version.txt ]]; then echo "CSF Detected... Exiting..." exit 1 elif [[ -d /etc/apf ]]; then echo "APF Detected... Exiting..." exit 1 elif [[ -e /usr/sbin/firewalld ]]; then echo "Firewalld detected... Exiting..." exit 1 fi case "$1" in 'start') modprobe ip_conntrack_ftp bash /usr/sbin/firewall start service iptables save 2>&1 RETVAL=$? ;; 'stop') iptables -F iptables -X bash /usr/sbin/firewall stop RETVAL=$? ;; 'restart') iptables -F iptables -X modprobe ip_conntrack_ftp bash /usr/sbin/firewall stop bash /usr/sbin/firewall start service iptables save 2>&1 RETVAL=$? ;; *) echo "Usage: $0 { start | stop | restart }" RETVAL=1 ;; esac exit $RETVAL SMTP_WHITELIST 0000644 00000000000 15231107276 0006700 0 ustar 00 INCLUDE 0000644 00000001265 15231107276 0005562 0 ustar 00 iptables -I INPUT -p tcp --dport 30000:65534 -j ACCEPT iptables -I OUTPUT -p udp --dport 323 -m comment --comment "chronyd" -j ACCEPT iptables -I INPUT -i lo -m comment --comment "Inbound Allow lo" -j ACCEPT iptables -I OUTPUT -o lo -m comment --comment "Outbound allow lo" -j ACCEPT iptables -I INPUT -s 216.172.188.75/32 -m comment --comment "allow Painel" -j ACCEPT iptables -I INPUT -s 108.179.194.154/32 -m comment --comment "allow Wizard/Eigsh" -j ACCEPT iptables -I INPUT -s 198.49.73.130 -j ACCEPT iptables -I INPUT -s 143.255.58.51 -j ACCEPT iptables -I INPUT -s 143.255.58.50 -j ACCEPT iptables -I INPUT -s 143.255.56.134 -j ACCEPT iptables -I INPUT -s 143.255.56.130 -j ACCEPT INPUT 0000644 00000000024 15231107276 0005366 0 ustar 00 22022 3306 22 26 53 SSH 0000644 00000000000 15231107276 0005116 0 ustar 00 OUTPUT 0000644 00000000003 15231107276 0005524 0 ustar 00 26 IPDROP_GLOBAL 0000644 00000000000 15231107276 0006476 0 ustar 00
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings