This commit is contained in:
cutemeli
2025-12-22 10:35:30 +00:00
parent 0bfc6c8425
commit 5ce7ca2c5d
38927 changed files with 0 additions and 4594700 deletions

View File

@@ -1,22 +0,0 @@
#!/bin/sh
### Copyright 1999-2023. Plesk International GmbH. All rights reserved.
export PATH="/usr/sbin:/sbin:$PATH"
iptables -F
iptables -X
iptables -Z
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
if [ -e "/proc/net/if_inet6" -a -n "`cat /proc/net/if_inet6`" ] && which ip6tables >/dev/null 2>&1; then
ip6tables -F
ip6tables -X
ip6tables -Z
ip6tables -P INPUT ACCEPT
ip6tables -P OUTPUT ACCEPT
ip6tables -P FORWARD ACCEPT
fi
exit 0

View File

@@ -1,18 +0,0 @@
# Copyright 1999-2023. Plesk International GmbH. All rights reserved.
[Unit]
Description=Plesk firewall rules
Wants=remote-fs.target network.target
After=remote-fs.target network.target
Conflicts=iptables.service ip6tables.service ebtables.service firewalld.service ufw.service ipset.service nftables.service
[Service]
Type=oneshot
ExecStart=/bin/bash /usr/local/psa/var/modules/firewall/firewall-active.sh
ExecStop=/bin/bash /usr/local/psa/var/modules/firewall/firewall-emergency.sh
RemainAfterExit=yes
ProtectSystem=full
ProtectHome=yes
[Install]
WantedBy=multi-user.target