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
f80cbe955f
commit
a839f643e7
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +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
|
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