Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

VestaCP Firewall

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
codemasterxv
Posts: 11
Joined: Tue Sep 01, 2015 5:42 am

VestaCP Firewall
  • Quote

Post by codemasterxv » Tue Mar 15, 2016 6:58 pm

Hello,

I would like to get some information regarding to allow and deny access to specific IP or specific range of IPs

In any rule configuration follows,

Action- A/D
Protocol- TCP/UDP
Port (ranges are acceptable)- any number of port
IP address (CIDR format is supported) <- Problem is here
Comment (optional)

1.How can I add multiple IP to allow or deny action. I tried by separating by , ; / but it is not working
2. How to block IP range?
3.How to block multiple IP ranges?

Thank you.
Top

mike08
Posts: 160
Joined: Sat Jun 20, 2015 7:12 am

Os: Debian 6x
Web: apache + nginx
Re: VestaCP Firewall
  • Quote

Post by mike08 » Fri Mar 18, 2016 8:01 am

Hello codemasterxv,

That proper way to block an ip is by going to Firewall --> List fail2ban --> Ban IP Address, the CIDR format should be the subnet like 104.236.66.100/29 which contains:

Code: Select all

104.236.66.96
104.236.66.97
104.236.66.98
104.236.66.99
104.236.66.100
104.236.66.101
104.236.66.102
104.236.66.103
Regards,
Top

codemasterxv
Posts: 11
Joined: Tue Sep 01, 2015 5:42 am

Re: VestaCP Firewall
  • Quote

Post by codemasterxv » Mon Mar 28, 2016 4:58 am

HEllo,

I am asking how to add multiple IP's or multiple IP ranges on same port with allow and disallow.
Example,

1> If I want to open 22 port for only 103.251.249.xx IP disallow expect from all.
2> If I want to open 22 port for specific range and disallow from all IP's.


Thank you.
Top

codemasterxv
Posts: 11
Joined: Tue Sep 01, 2015 5:42 am

Re: VestaCP Firewall
  • Quote

Post by codemasterxv » Tue Apr 12, 2016 10:25 am

Hello,

Someone replay please.

Thanks.
Top

jobilo
Posts: 1
Joined: Tue Sep 06, 2016 5:28 am

Re: VestaCP Firewall
  • Quote

Post by jobilo » Tue Sep 06, 2016 5:32 am

Hi
We have the same problem here, in fail2ban list i add
the range of ip to block but vesta show this error:
Error: invalid ip format :: 185.129.148.0/24
any idea?
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password