<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; YUM какие порты открыть в iptables]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=20055&amp;type=atom" />
	<updated>2012-02-06T16:45:07Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=20055</id>
		<entry>
			<title type="html"><![CDATA[Re: YUM какие порты открыть в iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=248860#p248860" />
			<content type="html"><![CDATA[<p>Спасибо, всё заработало)</p>]]></content>
			<author>
				<name><![CDATA[DarkDigger]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20256</uri>
			</author>
			<updated>2012-02-06T16:45:07Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=248860#p248860</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: YUM какие порты открыть в iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=248846#p248846" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>riso пишет:</cite><blockquote><p>yum использует http, ftp, https</p></blockquote></div><p>tcp 21<br />tcp 443<br />tcp 80<br /> :cool:</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2012-02-06T16:14:11Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=248846#p248846</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: YUM какие порты открыть в iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=248844#p248844" />
			<content type="html"><![CDATA[<p>yum использует http, ftp, https</p>]]></content>
			<author>
				<name><![CDATA[riso]]></name>
				<uri>https://linuxforum.ru/profile.php?id=14972</uri>
			</author>
			<updated>2012-02-06T15:55:38Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=248844#p248844</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: YUM какие порты открыть в iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=248843#p248843" />
			<content type="html"><![CDATA[<p>Блин, вот я тупанул... На нём к докуче стоит ещё и апача, и вот полный конфиг:</p><div class="codebox"><pre><code># Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
-A INPUT -p icmp -j ACCEPT
-A INPUT -p tcp  --dport 80  -j ACCEPT
-A INPUT -p tcp  --sport 80 -j ACCEPT #вот эта строчка решила проблему
-A INPUT -i lo -j ACCEPT
-A INPUT -s 192.168.0.0/24 -p tcp --dport 22 -j ACCEPT
-A INPUT -p tcp --sport 53 -j ACCEPT
-A INPUT -p udp --sport 53 -j ACCEPT
-A INPUT -j DROP

-A FORWARD -j DROP

-A OUTPUT -p icmp -j ACCEPT
-A OUTPUT -p tcp --sport 22 -j ACCEPT
-A OUTPUT -d 127.0.0.0/24 -j ACCEPT
-A OUTPUT -p tcp --sport 80 -j ACCEPT
-A OUTPUT -p tcp --dport 80 -j ACCEPT #вот эта строчка решила проблему
-A OUTPUT -p tcp --dport 53 -j ACCEPT
-A OUTPUT -p udp --dport 53 -j ACCEPT
-A OUTPUT  -j DROP

COMMIT</code></pre></div><p>Может кому помоет)</p>]]></content>
			<author>
				<name><![CDATA[DarkDigger]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20256</uri>
			</author>
			<updated>2012-02-06T15:55:24Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=248843#p248843</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[YUM какие порты открыть в iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=248841#p248841" />
			<content type="html"><![CDATA[<p>Да я параноик, закрыл почти всё на входящий/исходящий трафик:)<br />Вот что открыто:<br />порт&nbsp; протокол подключение<br />80&nbsp; &nbsp; &nbsp; tcp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INPUT<br />80&nbsp; &nbsp; &nbsp; tcp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OUTPUT<br />22&nbsp; &nbsp; &nbsp; tcp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INPUT<br />22&nbsp; &nbsp; &nbsp; tcp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OUTPUT<br />53&nbsp; &nbsp; &nbsp; tcp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INPUT<br />53&nbsp; &nbsp; &nbsp; tcp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OUTPUT<br />53&nbsp; &nbsp; &nbsp; udp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INPUT<br />53&nbsp; &nbsp; &nbsp; udp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OUTPUT</p><p>Ну и всё для 127.0.0.0/24</p><p>yum не работает. Если отключить iptables начинает работать. Что ещё открыть?</p>]]></content>
			<author>
				<name><![CDATA[DarkDigger]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20256</uri>
			</author>
			<updated>2012-02-06T15:50:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=248841#p248841</id>
		</entry>
</feed>
