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 Web Server
  • Search

Firewall Setup

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
fremeni
Posts: 40
Joined: Sun Jun 15, 2014 11:14 pm

Firewall Setup
  • Quote

Post by fremeni » Wed Oct 22, 2014 5:57 pm

Hi Guys,

The new platform have the firewall incluted.

I've setted it like this

A rule that block 0.0.0.0/0 (all ip range) for all ports (excluted 80)

A rule that accept My Own Ip for all ports

This is the secure way for a personal server?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Firewall Setup
  • Quote

Post by imperio » Wed Oct 22, 2014 9:29 pm

A rule that block 0.0.0.0/0 (all ip range) for all ports (excluted 80)
A rule that accept My Own Ip for all ports
Be careful
If you have dynamic ip, you will not access to ssh
Top

Trentor
Posts: 84
Joined: Fri Apr 25, 2014 6:42 pm

Re: Firewall Setup
  • Quote

Post by Trentor » Wed Oct 22, 2014 10:32 pm

fremeni wrote:This is the secure way for a personal server?
Yes, is secure, but not the proper way.

It's really dangerous if you have a dinamic IP. If your IP changes, you won't be able to connect to your server (via SSH) anymore; and with that rule you can't connect to your server with another connection if you have problems with your usual connection. Really dangerous.

For secure your server you can use tools like fail2ban, a correct configuration of the SSH service, disabling services that you are not using (FTP, POP, DNS, etc.) and closing their ports, etc.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • 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