Не рабортает IPTABLES
Re: Не рабортает IPTABLES
А что с этим делать ?
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'
Re: Не рабортает IPTABLES
Удалите временно и после всех действий попробуйте сделать рестарт iptables
Re: Не рабортает IPTABLES
yum v-update-firewall ?
Re: Не рабортает IPTABLES
Code: Select all
v-update-firewall
service iptables restart
Re: Не рабортает IPTABLES
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 ]
Re: Не рабортает IPTABLES
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
Re: Не рабортает IPTABLES
ОК. Скорее всего это моя вина, у меня там не стандартная CentOS+Vestacp, а целая связка приложений.+BTSync+Desktop+TigerVNC+KVM+XP.Ещё планирую maldet повесить как только проблему с Iptables решу.
Re: Не рабортает IPTABLES
Дело было в том, что из iptables каким-то непонятным образом пропала строчка -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT. Я ее не удалял.zvino wrote:Здравуствуйте.
Вопрос про ваши правила iptables. Поставил на VPS торрент-клиент Transmission, в панели Vesta добавил правила в iptables - входящий порт для клиента и порт для Remote GUI.
С Рутрекером все нормально, а вот с What.cd не соединяется. Какие могут быть причины? Если iptables отключить, то работает. Почему от Рутрекера ответ проходит, а с What.cd iptables его не пускает (по netstat вижу, что ответ пришел)?imperio wrote:Возможно для What.cd нужны другие правила. Уточните у их поддержки.
Вписал, теперь все нормально.
Кстати, может кто-нибудь знает, есть ли какое-то решение как или чем можно заменить ipset, т.к. в OpenVZ он не работает?
Re: Не рабортает IPTABLES
Вопрос - возможно ли переустановить Iptables без риска положить сервер ?