Barrying IP access in VestaCP
To block access to your site from certain IP addresses, go to the Firewall section and click the green plus button to add a rule.
This function is available only when logging to the VestaCP panel by the admin.
![barrying-ip-access-in-vestacp](https://help.ishosting.com/hs-fs/hubfs/help/server-administration/vestacp/barrying-ip-access-in-vestacp/barrying-ip-access-in-vestacp.png?width=624&height=206&name=barrying-ip-access-in-vestacp.png)
In the action item, select DROP and specify the IP address from which access will be blocked.
In addition, you can specify a port. The connection will be blocked when accessing this port.
![barrying-ip-access-in-vestacp1](https://help.ishosting.com/hs-fs/hubfs/help/server-administration/vestacp/barrying-ip-access-in-vestacp/barrying-ip-access-in-vestacp1.png?width=553&height=536&name=barrying-ip-access-in-vestacp1.png)
If you have any questions, please create a ticket to technical support.