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 (Русский) Общие вопросы
  • Search

Не работает iptables

Общие вопросы о панели управления Vesta
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
orange
Posts: 3
Joined: Sat Oct 01, 2016 4:07 pm

Не работает iptables
  • Quote

Post by orange » Fri Sep 08, 2017 4:23 am

После установки не работает iptables, ос centos 7(пробовал другие-аналогично).
статус iptables:

Code: Select all

[root@server ~]# systemctl status iptables
* iptables.service - IPv4 firewall with iptables
   Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
Подскажите, как решить проблему? На 3 хостерах из 4 такая проблема. Тех поддержка только разводит руками и делает вид что не понимает проблемы.
Top

PeaceData
Posts: 11
Joined: Fri Jul 28, 2017 8:45 am

Re: Не работает iptables
  • Quote

Post by PeaceData » Wed Sep 13, 2017 3:17 pm

А что показывает systemctl status firewalld? Если включен, то отключите и поставьте disable
Top

laric801
Posts: 2
Joined: Wed Oct 11, 2017 7:16 am

Re: Не работает iptables
  • Quote

Post by laric801 » Wed Oct 11, 2017 7:20 am

Тоже неработает:

/var$ systemctl status iptables
* iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
Active: inactive (dead)

/var$ systemctl status firewalld
Unit firewalld.service could not be found.

Что можно сделать?
Top

laric801
Posts: 2
Joined: Wed Oct 11, 2017 7:16 am

Re: Не работает iptables
  • Quote

Post by laric801 » Wed Oct 11, 2017 7:32 am

После

Code: Select all

sudo yum install iptables-services
стартанулось вроде. нов панели неак
/var$ systemctl status iptables
* iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
Active: active (exited) since Wed 2017-10-11 10:26:32 MSK; 2min 35s ago
Process: 32659 ExecStart=/usr/libexec/iptables/iptables.init start (code=exited, status=0/SUCCESS)
Main PID: 32659 (code=exited, status=0/SUCCESS)

Oct 11 10:26:32 p12097 systemd[1]: Starting IPv4 firewall with iptables...
Oct 11 10:26:32 p12097 iptables.init[32659]: iptables: Applying firewall rules: [ OK ]
Oct 11 10:26:32 p12097 systemd[1]: Started IPv4 firewall with iptables.
Top

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

Re: Не работает iptables
  • Quote

Post by fergunia » Wed Oct 11, 2017 11:44 am

Аналогичная ситуация. После установки VESTA 0.9.8 (x86_64) на CentOS 7.4.1708 в интерфейсе панели(*) не запускается сервис iptables

Code: Select all

[root@server ~]# systemctl status iptables
* iptables.service - IPv4 firewall with iptables
   Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
   Active: inactive (dead) 
PeaceData wrote:А что показывает systemctl status firewalld? Если включен, то отключите и поставьте disable

Code: Select all

[root@server ~]# systemctl status firewalld
* firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:firewalld(1)
* Стоит ли игнорировать интерфейс весты и запускать сервис в ручную командой systemctl start iptables.service

P.S. Выяснилось, что на всех OpenVZ-серверах от firstvds.ru отсутствует поддержка nat, conntrack для iptables. Остается догадываться, что ISP-панели лишены подобной защиты, но помалкивают?
Top

PeaceData
Posts: 11
Joined: Fri Jul 28, 2017 8:45 am

Re: Не работает iptables
  • Quote

Post by PeaceData » Wed Oct 18, 2017 11:29 am

fergunia wrote:P.S. Выяснилось, что на всех OpenVZ-серверах от firstvds.ru отсутствует поддержка nat, conntrack для iptables. Остается догадываться, что ISP-панели лишены подобной защиты, но помалкивают?
Вот так всё превратилось в тыкву
Top

exmr
Posts: 8
Joined: Fri Jun 23, 2017 7:52 am

Re: Не работает iptables
  • Quote

Post by exmr » Tue Jan 09, 2018 2:53 pm

Картина всё та же. Один в один всё что написано выше.
При этом...
В панели прописаны правила для iptables, но команда iptables -L показывает что правил нет.

Итак, как решить нормальный запуск iptables?
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “Общие вопросы”



  • 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