Unblock IP restriction on port 8083 through SSH
Unblock IP restriction on port 8083 through SSH
How can I do that through SSH?
Re: Unblock IP restriction on port 8083 through SSH
I think - /usr/local/vesta/bin/v-delete-firewall-ban
Re: Unblock IP restriction on port 8083 through SSH
Commands for firewall:
Code: Select all
/usr/local/vesta/bin/v-add-firewall-ban
/usr/local/vesta/bin/v-change-firewall-rule
/usr/local/vesta/bin/v-add-firewall-chain
/usr/local/vesta/bin/v-delete-firewall-ban
/usr/local/vesta/bin/v-list-firewall
/usr/local/vesta/bin/v-suspend-firewall-rule
/usr/local/vesta/bin/v-add-firewall-rule
/usr/local/vesta/bin/v-delete-firewall-chain
/usr/local/vesta/bin/v-delete-firewall-rule
/usr/local/vesta/bin/v-list-firewall-ban
/usr/local/vesta/bin/v-unsuspend-firewall-rule
/usr/local/vesta/bin/v-list-firewall-rule
/usr/local/vesta/bin/v-update-firewall
Code: Select all
/usr/local/vesta/bin/v-add-sys-firewall
/usr/local/vesta/bin/v-delete-sys-firewall
/usr/local/vesta/bin/v-stop-firewall
Re: Unblock IP restriction on port 8083 through SSH
You should check the banned IPs using v-list-firewall-ban
Look at the CHAIN string and unban the IP using v-delete-firewall-ban [IP] [CHAIN]. In this example you could unban the IP 14.231.90.13 for the MAIL chain like this:
Then you can check again, looking for the "unbanned" IP:
Code: Select all
v-list-firewall-ban
IP CHAIN TIME DATE
-- ----- ---- ----
185.137.111.129 INPUT 12:04:36 2019-06-18
185.137.111.125 INPUT 12:05:30 2019-06-18
14.231.90.13 MAIL 04:44:24 2019-06-30
45.13.39.23 MAIL 17:26:33 2019-07-01
Code: Select all
v-delete-firewall-ban 14.231.90.13 MAIL
Code: Select all
v-list-firewall-ban
IP CHAIN TIME DATE
-- ----- ---- ----
185.137.111.129 INPUT 12:04:36 2019-06-18
185.137.111.125 INPUT 12:05:30 2019-06-18
45.13.39.23 MAIL 17:26:33 2019-07-01