<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Centos 6.5, KVM, настройка сети]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=33307&amp;type=atom" />
	<updated>2014-03-12T19:25:56Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=33307</id>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399875#p399875" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexfinn пишет:</cite><blockquote><p>Да это я все время тупил ab<br />Давно уже iptables не трогал, забывать все начал ab</p></blockquote></div><p>Главное результат. <br />Сейчас попробую клонировать ВМ, потестирую.</p>]]></content>
			<author>
				<name><![CDATA[DemSky]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31592</uri>
			</author>
			<updated>2014-03-12T19:25:56Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399875#p399875</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399874#p399874" />
			<content type="html"><![CDATA[<p>Да это я все время тупил <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /><br />Давно уже iptables не трогал, забывать все начал <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2014-03-12T19:24:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399874#p399874</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399873#p399873" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexfinn пишет:</cite><blockquote><p>-A POSTROUTING -s 192.168.122.0/24 -o bridge0 -j MASQUERADE</p></blockquote></div><p>Это определённо успех! <br />Благодарствую!</p>]]></content>
			<author>
				<name><![CDATA[DemSky]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31592</uri>
			</author>
			<updated>2014-03-12T19:22:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399873#p399873</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399872#p399872" />
			<content type="html"><![CDATA[<p>меняем<br /></p><div class="codebox"><pre><code>-A POSTROUTING -s 192.168.122.0/24 -o virbr0 -j MASQUERADE</code></pre></div><p>на<br /></p><div class="codebox"><pre><code>-A POSTROUTING -s 192.168.122.0/24 -o bridge0 -j MASQUERADE</code></pre></div>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2014-03-12T19:20:56Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399872#p399872</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399870#p399870" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexfinn пишет:</cite><blockquote><p>iptables -L -n -v</p></blockquote></div><div class="codebox"><pre><code>Chain INPUT (policy ACCEPT 1478 packets, 93538 bytes)
 pkts bytes target     prot opt in     out     source               destination
12606  601K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
    1    61 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22
    1    50 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp multiport dports 5900:5905

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
   93  4512 ACCEPT     all  --  virbr0 bridge0  0.0.0.0/0            0.0.0.0/0
    0     0 ACCEPT     all  --  bridge0 virbr0  0.0.0.0/0            0.0.0.0/0

Chain OUTPUT (policy ACCEPT 13285 packets, 15M bytes)
 pkts bytes target     prot opt in     out     source               destination</code></pre></div>]]></content>
			<author>
				<name><![CDATA[DemSky]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31592</uri>
			</author>
			<updated>2014-03-12T19:14:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399870#p399870</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399868#p399868" />
			<content type="html"><![CDATA[<p>так. смотрим еще раз вывод<br /></p><div class="codebox"><pre><code>iptables -L -n -v</code></pre></div>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2014-03-12T19:10:10Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399868#p399868</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399867#p399867" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexfinn пишет:</cite><blockquote><p>sysctl -a | grep forward</p></blockquote></div><div class="codebox"><pre><code>sysctl -a | grep forward
net.ipv4.conf.all.forwarding = 1
net.ipv4.conf.all.mc_forwarding = 0
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.default.mc_forwarding = 0
net.ipv4.conf.lo.forwarding = 1
net.ipv4.conf.lo.mc_forwarding = 0
net.ipv4.conf.eth0.forwarding = 1
net.ipv4.conf.eth0.mc_forwarding = 0
net.ipv4.conf.eth1.forwarding = 1
net.ipv4.conf.eth1.mc_forwarding = 0
net.ipv4.conf.bridge0.forwarding = 1
net.ipv4.conf.bridge0.mc_forwarding = 0
net.ipv4.conf.virbr0.forwarding = 1
net.ipv4.conf.virbr0.mc_forwarding = 0
net.ipv4.conf.virbr0-nic.forwarding = 1
net.ipv4.conf.virbr0-nic.mc_forwarding = 0
net.ipv4.conf.vnet0.forwarding = 1
net.ipv4.conf.vnet0.mc_forwarding = 0
net.ipv4.conf.vnet1.forwarding = 1
net.ipv4.conf.vnet1.mc_forwarding = 0
net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 0
net.ipv6.conf.all.mc_forwarding = 0
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.default.mc_forwarding = 0
net.ipv6.conf.lo.forwarding = 0
net.ipv6.conf.lo.mc_forwarding = 0
net.ipv6.conf.eth0.forwarding = 0
net.ipv6.conf.eth0.mc_forwarding = 0
net.ipv6.conf.eth1.forwarding = 0
net.ipv6.conf.eth1.mc_forwarding = 0
net.ipv6.conf.bridge0.forwarding = 0
net.ipv6.conf.bridge0.mc_forwarding = 0
net.ipv6.conf.virbr0.forwarding = 0
net.ipv6.conf.virbr0.mc_forwarding = 0
net.ipv6.conf.virbr0-nic.forwarding = 0
net.ipv6.conf.virbr0-nic.mc_forwarding = 0
net.ipv6.conf.vnet0.forwarding = 0
net.ipv6.conf.vnet0.mc_forwarding = 0
net.ipv6.conf.vnet1.forwarding = 0
net.ipv6.conf.vnet1.mc_forwarding = 0</code></pre></div>]]></content>
			<author>
				<name><![CDATA[DemSky]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31592</uri>
			</author>
			<updated>2014-03-12T19:08:19Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399867#p399867</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399866#p399866" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>sysctl -a | grep forward</code></pre></div>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2014-03-12T19:07:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399866#p399866</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399864#p399864" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexfinn пишет:</cite><blockquote><p>telnet google.com 80</p></blockquote></div><p><span class="postimg"><img src="http://i.imgur.com/LjGBzGK.png" alt="http://i.imgur.com/LjGBzGK.png" /></span></p>]]></content>
			<author>
				<name><![CDATA[DemSky]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31592</uri>
			</author>
			<updated>2014-03-12T19:04:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399864#p399864</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399863#p399863" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>telnet google.com 80</code></pre></div>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2014-03-12T19:03:19Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399863#p399863</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399862#p399862" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexfinn пишет:</cite><blockquote><p>а на самой винде ничего не блочит? кстати, ради интереса, попробуйте на тот же Гугл телнетом зайти</p></blockquote></div><p>Винда полностью чистая, ничего не стоит. Вбил настройки соединения и отключил фаервол, всё... <br /><span class="postimg"><img src="http://i.imgur.com/qVCYV4i.png" alt="http://i.imgur.com/qVCYV4i.png" /></span></p><p>telnet не проходит до Гугла. Стоит на Connecting to google.ru...</p>]]></content>
			<author>
				<name><![CDATA[DemSky]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31592</uri>
			</author>
			<updated>2014-03-12T19:01:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399862#p399862</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399860#p399860" />
			<content type="html"><![CDATA[<p>а на самой винде ничего не блочит? кстати, ради интереса, попробуйте на тот же Гугл телнетом зайти</p>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2014-03-12T18:57:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399860#p399860</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399858#p399858" />
			<content type="html"><![CDATA[<p>Ничего не поменялось после обновления/перезагрузки iptables. <br />Ping с виртуальной машины не проходит. </p><div class="codebox"><pre><code># Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp -m multiport --dports 5900:5905 -j ACCEPT
-A FORWARD -i virbr0 -o bridge0 -j ACCEPT
-A FORWARD -i bridge0 -o virbr0 -j ACCEPT
COMMIT
*nat
-A POSTROUTING -s 192.168.122.0/24 -o virbr0 -j MASQUERADE
COMMIT</code></pre></div>]]></content>
			<author>
				<name><![CDATA[DemSky]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31592</uri>
			</author>
			<updated>2014-03-12T18:55:31Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399858#p399858</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399854#p399854" />
			<content type="html"><![CDATA[<p>оба правила FORWARD уберите, а вместо них впишите:</p><div class="codebox"><pre><code>-A FORWARD -i virbr0 -o bridge0 -j ACCEPT
-A FORWARD -i bridge0 -o virbr0 -j ACCEPT</code></pre></div><p>а то я, похоже, что-то намутил слегка с правилами <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2014-03-12T18:50:42Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399854#p399854</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Centos 6.5, KVM, настройка сети]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=399853#p399853" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alexfinn пишет:</cite><blockquote><p>покажите еще раз правила iptables</p></blockquote></div><div class="codebox"><pre><code># Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp -m multiport --dports 5900:5905 -j ACCEPT
-A FORWARD -d 192.168.122.0/24 -o virbr0 -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -j ACCEPT
COMMIT
*nat
-A POSTROUTING -s 192.168.122.0/24 -o virbr0 -j MASQUERADE
COMMIT</code></pre></div>]]></content>
			<author>
				<name><![CDATA[DemSky]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31592</uri>
			</author>
			<updated>2014-03-12T18:46:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=399853#p399853</id>
		</entry>
</feed>
