Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Language specific forums Russian (Русский) Общие вопросы RHEL/CentOS
  • Search

Чистый centos-6-x86_64-minimal не работает iptables

Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
s3inc
Posts: 42
Joined: Mon Mar 14, 2016 5:18 am

Чистый centos-6-x86_64-minimal не работает iptables
  • Quote

Post by s3inc » Fri Feb 10, 2017 5:49 pm

Доброго времени суток, новый сервер, стоит centos-6-x86_64-minimal, установил vestacp, все работает как надо, вообще нареканий нет, если бы не отключенная служба iptables, собственно вопрос, как включить? кнопками в панели не запускается. Куда копать? может кто сталкивался?
Top

Stesh
Posts: 348
Joined: Mon Nov 09, 2015 5:52 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Чистый centos-6-x86_64-minimal не работает iptables
  • Quote

Post by Stesh » Fri Feb 10, 2017 10:05 pm

iptables -L -v
Top

s3inc
Posts: 42
Joined: Mon Mar 14, 2016 5:18 am

Re: Чистый centos-6-x86_64-minimal не работает iptables
  • Quote

Post by s3inc » Fri Feb 10, 2017 11:26 pm

Stesh wrote:iptables -L -v

Code: Select all

[root@server ~]# iptables -L -v
Chain INPUT (policy ACCEPT 318 packets, 58623 bytes)
 pkts bytes target     prot opt in     out     source               destination                                                                                                                                
 1030  180K fail2ban-VESTA  tcp  --  any    any     anywhere             anywher                                                                                                                               e            tcp dpt:us-srv
 1110 57396 fail2ban-MAIL  tcp  --  any    any     anywhere             anywhere                                                                                                                                           multiport dports smtp,urd,submission,ms-v-worlds,pop3,pop3s,imap,ima                                                                                                                               ps
 6991  621K fail2ban-SSH  tcp  --  any    any     anywhere             anywhere                                                                                                                                           tcp dpt:ssh

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination                                                                                                                                

Chain OUTPUT (policy ACCEPT 392 packets, 283K bytes)
 pkts bytes target     prot opt in     out     source               destination                                                                                                                                

Chain fail2ban-MAIL (1 references)
 pkts bytes target     prot opt in     out     source               destination                                                                                                                                
 1110 57396 RETURN     all  --  any    any     anywhere             anywhere                                                                                                                                   

Chain fail2ban-SSH (1 references)
 pkts bytes target     prot opt in     out     source               destination                                                                                                                                
   20  2112 REJECT     all  --  any    any     221.194.44.219       anywhere                                                                                                                                           reject-with icmp-port-unreachable
   19  2088 REJECT     all  --  any    any     116.31.116.50        anywhere                                                                                                                                           reject-with icmp-port-unreachable
  104  7011 REJECT     all  --  any    any     58.218.199.182       anywhere                                                                                                                                           reject-with icmp-port-unreachable
 2744  326K RETURN     all  --  any    any     anywhere             anywhere                                                                                                                                   

Chain fail2ban-VESTA (1 references)
 pkts bytes target     prot opt in     out     source               destination                                                                                                                                
 1030  180K RETURN     all  --  any    any     anywhere             anywhere    
Top

Stesh
Posts: 348
Joined: Mon Nov 09, 2015 5:52 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Чистый centos-6-x86_64-minimal не работает iptables
  • Quote

Post by Stesh » Sat Feb 11, 2017 12:28 am

И в каком месте не работает iptables?
Top

s3inc
Posts: 42
Joined: Mon Mar 14, 2016 5:18 am

Re: Чистый centos-6-x86_64-minimal не работает iptables
  • Quote

Post by s3inc » Sat Feb 11, 2017 11:49 am

Stesh wrote:И в каком месте не работает iptables?
Я понял, а почему в службах весты висит как не запущенная служба?
Top

Stesh
Posts: 348
Joined: Mon Nov 09, 2015 5:52 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Чистый centos-6-x86_64-minimal не работает iptables
  • Quote

Post by Stesh » Sat Feb 11, 2017 11:52 am

Поройся поиском, где уже проскакивало.
Top

fergunia
Posts: 2
Joined: Wed Oct 11, 2017 10:19 am

Re: Чистый centos-6-x86_64-minimal не работает iptables
  • Quote

Post by fergunia » Wed Oct 11, 2017 12:01 pm

Чистый CentOS 7.4.1708 не запускается iptables в интерфейсе VESTA 0.9.8 (x86_64)
Stesh wrote:iptables -L -v

Code: Select all

[root@server ~]# iptables -L -v
Chain INPUT (policy ACCEPT 101K packets, 63M bytes)
 pkts bytes target     prot opt in     out     source               destination    

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination    

Chain OUTPUT (policy ACCEPT 148K packets, 236M bytes)
 pkts bytes target     prot opt in     out     source               destination  
Top

alexhom
Posts: 1
Joined: Wed Nov 22, 2017 7:35 pm

Re: Чистый centos-6-x86_64-minimal не работает iptables
  • Quote

Post by alexhom » Wed Nov 22, 2017 7:39 pm

Аналогичная ситуация и у меня. Как и у fergunia.

Chain INPUT (policy ACCEPT 58 packets, 6546 bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 58 packets, 13089 bytes)
pkts bytes target prot opt in out source destination

Подскажите что можно глянуть. Спасибо.
Top

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

Re: Чистый centos-6-x86_64-minimal не работает iptables
  • Quote

Post by imperio » Fri Nov 24, 2017 5:45 pm

alexhom wrote:Аналогичная ситуация и у меня. Как и у fergunia.

Chain INPUT (policy ACCEPT 58 packets, 6546 bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 58 packets, 13089 bytes)
pkts bytes target prot opt in out source destination

Подскажите что можно глянуть. Спасибо.
Напишите о проблеме подробнее
Top


Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • 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
 

 

cron

Login  •  Register

I forgot my password