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

Firewall blocks services after first reboot on a clean installation

General questions about VestaCP
Locked
  • Print view
Advanced search
14 posts
  • 1
  • 2
  • Next
pabbae
Posts: 23
Joined: Fri Feb 03, 2017 6:58 pm

Os: CentOS 6x
Web: apache + nginx
Firewall blocks services after first reboot on a clean installation

Post by pabbae » Tue Jul 03, 2018 3:56 pm

I've installed the last vestacp release on a clean minimal Centos 7 installation with this config

Code: Select all

    bash vst-install.sh --nginx yes --apache yes --phpfpm no --named yes --remi yes --vsftpd no --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot no --spamassassin no --clamav no --softaculous no --mysql yes --postgresql no --hostname host --email email@host --password xxxxx
After restart, firewall blocks all services access with this rule:

Code: Select all

[Chain INPUT (policy ACCEPT 0 packets, 0 bytes)]
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
I've tried several installations with same result.

Is it an issue of the new release?
Top

Felix
Posts: 134
Joined: Tue Aug 04, 2015 7:15 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Firewall blocks services after first reboot on a clean installation

Post by Felix » Wed Jul 04, 2018 5:30 am

What is the output of the following command?

Code: Select all

v-list-firewall
Top

geek
Posts: 17
Joined: Fri Jun 05, 2015 3:34 pm

Re: Firewall blocks services after first reboot on a clean installation

Post by geek » Wed Jul 04, 2018 5:54 am

Felix wrote: ↑
Wed Jul 04, 2018 5:30 am
What is the output of the following command?

Code: Select all

v-list-firewall
I have the same exact issue. Installed vestacp on a fresh centos 7.5
If you reboot the server, all services stop working. (only ping works) unless you login to the console and stop firewalld service
I have taken screenshots for "v-list-firewall" and "iptables -L" commands (no attachment option here)

Image

Image

Image

Image
Top

geek
Posts: 17
Joined: Fri Jun 05, 2015 3:34 pm

Re: Firewall blocks services after first reboot on a clean installation

Post by geek » Thu Jul 05, 2018 7:30 am

Anyone??
Top

pabbae
Posts: 23
Joined: Fri Feb 03, 2017 6:58 pm

Os: CentOS 6x
Web: apache + nginx
Re: Firewall blocks services after first reboot on a clean installation

Post by pabbae » Thu Jul 05, 2018 9:12 am

Felix wrote: ↑
Wed Jul 04, 2018 5:30 am
What is the output of the following command?

Code: Select all

v-list-firewall
Similar output like the one reported by @geek
Top

pabbae
Posts: 23
Joined: Fri Feb 03, 2017 6:58 pm

Os: CentOS 6x
Web: apache + nginx
Re: Firewall blocks services after first reboot on a clean installation

Post by pabbae » Thu Jul 05, 2018 9:20 am

geek wrote: ↑
Wed Jul 04, 2018 5:54 am
Felix wrote: ↑
Wed Jul 04, 2018 5:30 am
What is the output of the following command?

Code: Select all

v-list-firewall
I have the same exact issue. Installed vestacp on a fresh centos 7.5
If you reboot the server, all services stop working. (only ping works) unless you login to the console and stop firewalld service
I have taken screenshots for "v-list-firewall" and "iptables -L" commands (no attachment option here)

Image
In fact, services are up, BUT the firewall blocks ALL input connections due the REJECT ALL rule FROM 0.0.0.0/0 in the CHAIN INPUT
Top

geek
Posts: 17
Joined: Fri Jun 05, 2015 3:34 pm

Re: Firewall blocks services after first reboot on a clean installation

Post by geek » Thu Jul 05, 2018 12:30 pm

I understand the services are infact up, but why does it add drop all rule on reboot?
Top

pabbae
Posts: 23
Joined: Fri Feb 03, 2017 6:58 pm

Os: CentOS 6x
Web: apache + nginx
Re: Firewall blocks services after first reboot on a clean installation

Post by pabbae » Thu Jul 05, 2018 12:59 pm

geek wrote: ↑
Thu Jul 05, 2018 12:30 pm
I understand the services are infact up, but why does it add drop all rule on reboot?
No idea... that was the reason I've opened this post :)
Top

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

Re: Firewall blocks services after first reboot on a clean installation

Post by imperio » Thu Jul 05, 2018 2:11 pm

Fix will be soon.
Try to restart iptables

Code: Select all

service iptables restart
Top

pabbae
Posts: 23
Joined: Fri Feb 03, 2017 6:58 pm

Os: CentOS 6x
Web: apache + nginx
Re: Firewall blocks services after first reboot on a clean installation

Post by pabbae » Thu Jul 05, 2018 2:23 pm

imperio wrote: ↑
Thu Jul 05, 2018 2:11 pm
Fix will be soon.
Try to restart iptables

Code: Select all

service iptables restart
well.. the point is that if it's an online server that you can only access over ssh... there is no option to restart iptables after that reboot :)

Anyway, I added it as issue on github too yesterday.
Last edited by pabbae on Thu Jul 05, 2018 2:25 pm, edited 1 time in total.
Top


Locked
  • Print view

14 posts
  • 1
  • 2
  • Next

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