mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 04:50:47 -07:00
Update v-change-vesta-port
This commit is contained in:
parent
a2572f44df
commit
f80cbe955f
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ fi
|
||||||
sed -i "s|'$oldport'|'$port'|g" $VESTA/data/firewall/rules.conf
|
sed -i "s|'$oldport'|'$port'|g" $VESTA/data/firewall/rules.conf
|
||||||
$VESTA/bin/v-update-firewall
|
$VESTA/bin/v-update-firewall
|
||||||
systemctl restart fail2ban.service
|
systemctl restart fail2ban.service
|
||||||
|
sed -i "s|'$oldport'|'$port'|g" /etc/iptables.rules
|
||||||
systemctl restart vesta
|
systemctl restart vesta
|
||||||
|
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue