Update v-change-vesta-port

This commit is contained in:
myvesta 2021-07-17 13:23:59 +02:00 committed by GitHub
commit a839f643e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ fi
sed -i "s|'$oldport'|'$port'|g" $VESTA/data/firewall/rules.conf
$VESTA/bin/v-update-firewall
systemctl restart fail2ban.service
sed -i "s|'$oldport'|'$port'|g" /etc/iptables.rules
sed -i "s| $oldport | $port |g" /etc/iptables.rules
systemctl restart vesta
#----------------------------------------------------------#