<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; CentOS 7 minimal - Iptables fail.]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=36002&amp;type=atom" />
	<updated>2014-09-06T11:34:21Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=36002</id>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421789#p421789" />
			<content type="html"><![CDATA[<p><strong>drBatty,</strong> Беру свои скрины обратно <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /><br />И да, я тоже не поклонник systemd.</p>]]></content>
			<author>
				<name><![CDATA[AntiduPb]]></name>
				<uri>https://linuxforum.ru/profile.php?id=33159</uri>
			</author>
			<updated>2014-09-06T11:34:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421789#p421789</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421786#p421786" />
			<content type="html"><![CDATA[<p><strong>AntiduPb</strong>, что за дурная привычка бросаться скринами? На которых к тому же написано, что service всё равно редиректит в systemctl, которая чего-то там не находит (Леннарт style programming, написать что не нашла, не написать ЧЕГО собственно хотела. Г-но кодер, такой г-нокодер…) Но тут понятно, не находит скорее всего конфига с правилами iptables. Ну и что с того?</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2014-09-06T11:23:08Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421786#p421786</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421785#p421785" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>AntiduPb пишет:</cite><blockquote><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># yum install iptables-services</div></p></blockquote></div><p>То, что нужно - спасибо!</p>]]></content>
			<author>
				<name><![CDATA[Zed]]></name>
				<uri>https://linuxforum.ru/profile.php?id=35250</uri>
			</author>
			<updated>2014-09-06T11:22:57Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421785#p421785</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421783#p421783" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><div class="quotebox"><cite>Zed пишет:</cite><blockquote><p>Где собственно сам Iptables? Не могу дополнительные порты открыть или вообще выключить iptables</p></blockquote></div><p>Где? ЕМНИП как обычно в /sbin/ или /usr/sbin/<br />а порты наверное и так все открыты, там по дефолту всё открыто.</p><p>И да, нет такого сервиса как iptables. Точнее, iptables это часть ядра, а команда service iptables лишь <strong>настраивает</strong> подсистему ядра.</p><p>Что-бы узнать состояние, наберите от рута<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># iptables -L<br />Chain INPUT (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p><p>Chain FORWARD (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p><p>Chain OUTPUT (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; </div><br />такой вывод говорит о том, что iptables &quot;выключена&quot;, точнее работает в полностью прозрачном режиме.</p></blockquote></div><p>Как это нет?<br />В 6.5 есть.<br /><span class="postimg"><img src="http://data2.floomby.com/files/share/6_9_2014/14/ZNw7izp4qEKza9SWq1dnMg.jpg" alt="http://data2.floomby.com/files/share/6_9_2014/14/ZNw7izp4qEKza9SWq1dnMg.jpg" /></span><br /><span class="postimg"><img src="http://data2.floomby.com/files/share/6_9_2014/14/ttU6Lp6YOkGz86U8DeqQGw.jpg" alt="http://data2.floomby.com/files/share/6_9_2014/14/ttU6Lp6YOkGz86U8DeqQGw.jpg" /></span></p>]]></content>
			<author>
				<name><![CDATA[Zed]]></name>
				<uri>https://linuxforum.ru/profile.php?id=35250</uri>
			</author>
			<updated>2014-09-06T11:20:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421783#p421783</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421782#p421782" />
			<content type="html"><![CDATA[<p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># yum install iptables-services</div></p>]]></content>
			<author>
				<name><![CDATA[AntiduPb]]></name>
				<uri>https://linuxforum.ru/profile.php?id=33159</uri>
			</author>
			<updated>2014-09-06T11:19:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421782#p421782</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421781#p421781" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>AntiduPb пишет:</cite><blockquote><p>Это что-то с systemd походу.<br />P.S. А обязательно CentOS 7? 6.5 не пойдет?</p></blockquote></div><p>Да вот от балды захотелось поюзать 7, инновации &quot;жи&quot;.</p>]]></content>
			<author>
				<name><![CDATA[Zed]]></name>
				<uri>https://linuxforum.ru/profile.php?id=35250</uri>
			</author>
			<updated>2014-09-06T11:18:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421781#p421781</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421780#p421780" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><p>а оно уже в CentOS? OH SHI~</p></blockquote></div><p>Redirecting to /bin/systemctl stop iptables.service<br />systemctl - утилита для управления всем и вся в systemd</p>]]></content>
			<author>
				<name><![CDATA[AntiduPb]]></name>
				<uri>https://linuxforum.ru/profile.php?id=33159</uri>
			</author>
			<updated>2014-09-06T11:18:14Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421780#p421780</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421779#p421779" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>AntiduPb пишет:</cite><blockquote><p>systemd... Попробуйте родной способ systemd<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># systemctl stop iptables</div></p></blockquote></div><p><span class="postimg"><img src="http://data2.floomby.com/files/share/6_9_2014/14/korJTIUjEKDegvOjMocQ.jpg" alt="http://data2.floomby.com/files/share/6_9_2014/14/korJTIUjEKDegvOjMocQ.jpg" /></span></p>]]></content>
			<author>
				<name><![CDATA[Zed]]></name>
				<uri>https://linuxforum.ru/profile.php?id=35250</uri>
			</author>
			<updated>2014-09-06T11:17:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421779#p421779</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421778#p421778" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><p>такой вывод говорит о том, что iptables &quot;выключена&quot;, точнее работает в полностью прозрачном режиме.</p></blockquote></div><p>в CentOS iptables преднастроен разрабами и многие порты закрывает.</p>]]></content>
			<author>
				<name><![CDATA[AntiduPb]]></name>
				<uri>https://linuxforum.ru/profile.php?id=33159</uri>
			</author>
			<updated>2014-09-06T11:15:14Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421778#p421778</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421777#p421777" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>AntiduPb пишет:</cite><blockquote><p>systemd</p></blockquote></div><p>а оно уже в CentOS? OH SHI~</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2014-09-06T11:14:11Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421777#p421777</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421776#p421776" />
			<content type="html"><![CDATA[<p>Это что-то с systemd походу.<br /><a href="https://wiki.archlinux.org/index.php/Systemd_%28%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9%29">https://wiki.archlinux.org/index.php/Sy … 8%D0%B9%29</a> Вот почитайте может что для себя откроете.<br />P.S. А обязательно CentOS 7? 6.5 не пойдет?</p>]]></content>
			<author>
				<name><![CDATA[AntiduPb]]></name>
				<uri>https://linuxforum.ru/profile.php?id=33159</uri>
			</author>
			<updated>2014-09-06T11:13:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421776#p421776</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421775#p421775" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Zed пишет:</cite><blockquote><p>Где собственно сам Iptables? Не могу дополнительные порты открыть или вообще выключить iptables</p></blockquote></div><p>Где? ЕМНИП как обычно в /sbin/ или /usr/sbin/<br />а порты наверное и так все открыты, там по дефолту всё открыто.</p><p>И да, нет такого сервиса как iptables. Точнее, iptables это часть ядра, а команда service iptables лишь <strong>настраивает</strong> подсистему ядра.</p><p>Что-бы узнать состояние, наберите от рута<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># iptables -L<br />Chain INPUT (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p><p>Chain FORWARD (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p><p>Chain OUTPUT (policy ACCEPT)<br />target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; </div><br />такой вывод говорит о том, что iptables &quot;выключена&quot;, точнее работает в полностью прозрачном режиме.</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2014-09-06T11:11:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421775#p421775</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421774#p421774" />
			<content type="html"><![CDATA[<p>systemd... Попробуйте родной способ systemd<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"># systemctl stop iptables</div></p>]]></content>
			<author>
				<name><![CDATA[AntiduPb]]></name>
				<uri>https://linuxforum.ru/profile.php?id=33159</uri>
			</author>
			<updated>2014-09-06T11:09:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421774#p421774</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[CentOS 7 minimal - Iptables fail.]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=421764#p421764" />
			<content type="html"><![CDATA[<p>Конфиг:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code># Load additional iptables modules (nat helpers)
#   Default: -none-
# Space separated list of nat helpers (e.g. &#039;ip_nat_ftp ip_nat_irc&#039;), which
# are loaded after the firewall rules are applied. Options for the helpers are
# stored in /etc/modprobe.conf.
IPTABLES_MODULES=&quot;&quot;

# Unload modules on restart and stop
#   Value: yes|no,  default: yes
# This option has to be &#039;yes&#039; to get to a sane state for a firewall
# restart or stop. Only set to &#039;no&#039; if there are problems unloading netfilter
# modules.
IPTABLES_MODULES_UNLOAD=&quot;yes&quot;

# Save current firewall rules on stop.
#   Value: yes|no,  default: no
# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets stopped
# (e.g. on system shutdown).
IPTABLES_SAVE_ON_STOP=&quot;no&quot;

# Save current firewall rules on restart.
#   Value: yes|no,  default: no
# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets
# restarted.
IPTABLES_SAVE_ON_RESTART=&quot;no&quot;

# Save (and restore) rule and chain counter.
#   Value: yes|no,  default: no
# Save counters for rules and chains to /etc/sysconfig/iptables if
# &#039;service iptables save&#039; is called or on stop or restart if SAVE_ON_STOP or
# SAVE_ON_RESTART is enabled.
IPTABLES_SAVE_COUNTER=&quot;no&quot;

# Numeric status output
#   Value: yes|no,  default: yes
# Print IP addresses and port numbers in numeric format in the status output.
IPTABLES_STATUS_NUMERIC=&quot;yes&quot;

# Verbose status output
#   Value: yes|no,  default: yes
# Print info about the number of packets and bytes plus the &quot;input-&quot; and
# &quot;outputdevice&quot; in the status output.
IPTABLES_STATUS_VERBOSE=&quot;no&quot;

# Status output with numbered lines
#   Value: yes|no,  default: yes
# Print a counter/number for every rule in the status output.
IPTABLES_STATUS_LINENUMBERS=&quot;yes&quot;

# Reload sysctl settings on start and restart
#   Default: -none-
# Space separated list of sysctl items which are to be reloaded on start.
# List items will be matched by fgrep.
#IPTABLES_SYSCTL_LOAD_LIST=&quot;.nf_conntrack .bridge-nf&quot;</code></pre></div></div></div><p><span class="postimg"><img src="http://data2.floomby.com/files/share/6_9_2014/13/aHaQ7T7NEqpkFdLi84O2g.jpg" alt="http://data2.floomby.com/files/share/6_9_2014/13/aHaQ7T7NEqpkFdLi84O2g.jpg" /></span></p><p><span class="postimg"><img src="http://data2.floomby.com/files/share/6_9_2014/13/ocaG5Zb9yEa9jvkhZJb63g.jpg" alt="http://data2.floomby.com/files/share/6_9_2014/13/ocaG5Zb9yEa9jvkhZJb63g.jpg" /></span></p><p>Елки-палки, тут только конфиги:<br /><span class="postimg"><img src="http://data2.floomby.com/files/share/6_9_2014/13/x1d9sCmdB0aKrnhtB8rOQ.jpg" alt="http://data2.floomby.com/files/share/6_9_2014/13/x1d9sCmdB0aKrnhtB8rOQ.jpg" /></span></p><p>Где собственно сам Iptables? Не могу дополнительные порты открыть или вообще выключить iptables</p>]]></content>
			<author>
				<name><![CDATA[Zed]]></name>
				<uri>https://linuxforum.ru/profile.php?id=35250</uri>
			</author>
			<updated>2014-09-06T10:21:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=421764#p421764</id>
		</entry>
</feed>
