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
71 posts
  • Page 6 of 8
    • Jump to page:
  • Previous
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • Next
Skorsa
Posts: 341
Joined: Thu Oct 17, 2013 1:31 pm

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

Post by Skorsa » Wed Nov 19, 2014 5:57 pm

А что с этим делать ?

Code: Select all

RULE='1' ACTION='ACCEPT' PROTOCOL='ICMP' PORT='0' IP='0.0.0.0/0' COMMENT='PING' SUSPENDED='no' TIME='17:13:48' DATE='2014-09-16'
Top

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

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

Post by imperio » Wed Nov 19, 2014 5:58 pm

Удалите временно и после всех действий попробуйте сделать рестарт iptables
Top

Skorsa
Posts: 341
Joined: Thu Oct 17, 2013 1:31 pm

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

Post by Skorsa » Wed Nov 19, 2014 6:02 pm

yum v-update-firewall ?
Top

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

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

Post by imperio » Wed Nov 19, 2014 6:03 pm

Code: Select all

v-update-firewall
service iptables restart
Top

Skorsa
Posts: 341
Joined: Thu Oct 17, 2013 1:31 pm

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

Post by Skorsa » Wed Nov 19, 2014 6:03 pm

Щас попробую.
Top

Skorsa
Posts: 341
Joined: Thu Oct 17, 2013 1:31 pm

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

Post by Skorsa » Wed Nov 19, 2014 6:05 pm

Code: Select all

Opening /proc/modules: No such file or directory
iptables: Setting chains to policy ACCEPT: raw nat mangle f[  OK  ]
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Unloading modules: Opening /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
                                                           [  OK  ]
iptables: Applying firewall rules:                         [  OK  ]
Top

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

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

Post by imperio » Wed Nov 19, 2014 6:09 pm

Code: Select all

grep: /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
Opening /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
Уточню у разработчика по этим ошибкам.
Top

Skorsa
Posts: 341
Joined: Thu Oct 17, 2013 1:31 pm

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

Post by Skorsa » Wed Nov 19, 2014 6:13 pm

ОК. Скорее всего это моя вина, у меня там не стандартная CentOS+Vestacp, а целая связка приложений.+BTSync+Desktop+TigerVNC+KVM+XP.Ещё планирую maldet повесить как только проблему с Iptables решу.
Top

zvino
Posts: 13
Joined: Mon May 26, 2014 12:37 am

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

Post by zvino » Wed Nov 19, 2014 11:04 pm

zvino wrote:Здравуствуйте.
Вопрос про ваши правила iptables. Поставил на VPS торрент-клиент Transmission, в панели Vesta добавил правила в iptables - входящий порт для клиента и порт для Remote GUI.
С Рутрекером все нормально, а вот с What.cd не соединяется. Какие могут быть причины? Если iptables отключить, то работает. Почему от Рутрекера ответ проходит, а с What.cd iptables его не пускает (по netstat вижу, что ответ пришел)?
imperio wrote:Возможно для What.cd нужны другие правила. Уточните у их поддержки.
Дело было в том, что из iptables каким-то непонятным образом пропала строчка -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT. Я ее не удалял.
Вписал, теперь все нормально.

Кстати, может кто-нибудь знает, есть ли какое-то решение как или чем можно заменить ipset, т.к. в OpenVZ он не работает?
Top

Skorsa
Posts: 341
Joined: Thu Oct 17, 2013 1:31 pm

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

Post by Skorsa » Thu Nov 20, 2014 6:47 pm

Вопрос - возможно ли переустановить Iptables без риска положить сервер ?
Top


Post Reply
  • Print view

71 posts
  • Page 6 of 8
    • Jump to page:
  • Previous
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • Next

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