Page 1 of 1

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

Posted: Fri Feb 10, 2017 5:49 pm
by s3inc
Доброго времени суток, новый сервер, стоит centos-6-x86_64-minimal, установил vestacp, все работает как надо, вообще нареканий нет, если бы не отключенная служба iptables, собственно вопрос, как включить? кнопками в панели не запускается. Куда копать? может кто сталкивался?

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

Posted: Fri Feb 10, 2017 10:05 pm
by Stesh
iptables -L -v

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

Posted: Fri Feb 10, 2017 11:26 pm
by s3inc
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    

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

Posted: Sat Feb 11, 2017 12:28 am
by Stesh
И в каком месте не работает iptables?

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

Posted: Sat Feb 11, 2017 11:49 am
by s3inc
Stesh wrote:И в каком месте не работает iptables?
Я понял, а почему в службах весты висит как не запущенная служба?

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

Posted: Sat Feb 11, 2017 11:52 am
by Stesh
Поройся поиском, где уже проскакивало.

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

Posted: Wed Oct 11, 2017 12:01 pm
by fergunia
Чистый 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  

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

Posted: Wed Nov 22, 2017 7:39 pm
by alexhom
Аналогичная ситуация и у меня. Как и у 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

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

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

Posted: Fri Nov 24, 2017 5:45 pm
by imperio
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

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