<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Настройка NAT в Mandriva 2010.1]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=7580</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=7580&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Настройка NAT в Mandriva 2010.1».]]></description>
		<lastBuildDate>Tue, 19 Oct 2010 18:57:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Настройка NAT в Mandriva 2010.1]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=102878#p102878</link>
			<description><![CDATA[<p><a href="http://linuxforum.ru/viewtopic.php?pid=84327#p84327">http://linuxforum.ru/viewtopic.php?pid=84327#p84327</a><br /><a href="http://linuxforum.ru/viewtopic.php?pid=13514#p13514">http://linuxforum.ru/viewtopic.php?pid=13514#p13514</a></p><p>Не знаю, какие мануалы Вы читали, но во всех сказано, что форвардинг сначало включить надо. <img src="https://linuxforum.ru/img/smilies/bx.gif" alt="bx" /><br />В выше указанные ссылки привязаны к ответу. Это я к тому, что поиском нужно пользоваться.<br />Да, и во избежание других проблем, очистите правила, которые на создавали.<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"><br /># iptables -F<br /></div></p>]]></description>
			<author><![CDATA[null@example.com (vint)]]></author>
			<pubDate>Tue, 19 Oct 2010 18:57:59 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=102878#p102878</guid>
		</item>
		<item>
			<title><![CDATA[Настройка NAT в Mandriva 2010.1]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=102829#p102829</link>
			<description><![CDATA[<p>Ребята господи помогите настроить этот нат,&nbsp; выкурил прес мануалов побывал по разному ничего не выходит.<br />Есть сетка в сетке 2 компа:<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"><p>1-й windows xp (в сети ip 192.168.0.2 маска 255.255.255.0 шлюз 192.168.0.1)<br />2-й mandriva 2010.1 (2 интерфейса:<br />eth1 ip 192.168.0.1 <br />eth0 ip 10.213.10.20<br />Необходимо компу 192.168.0.2 обеспечить доступ на ресурсы через 10.213.10.20, что пишу:<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"><br />iptables -F<br />iptables -t nat -F<br />iptables -X<br />iptables -A FORWARD -s 192.168.0.0/24 -j ACCEPT<br />iptables -A FORWARD -d 192.168.0.0/24 -j ACCEPT<br />iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j MASQUERADE<br />iptables -A FORWARD -s 192.168.0.0/24 -j ACCEPT<br />iptables -A FORWARD -d 192.168.0.0/24 -j ACCEPT<br />iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j SNAT --to-source 10.213.10.20<br /></div><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"><br />iptables -L -t nat --line-numbers</p><p>Chain PREROUTING (policy ACCEPT)<br />num&nbsp; target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p><p>Chain POSTROUTING (policy ACCEPT)<br />num&nbsp; target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />1&nbsp; &nbsp; MASQUERADE&nbsp; all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />2&nbsp; &nbsp; MASQUERADE&nbsp; all&nbsp; --&nbsp; 192.168.0.0/24&nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />3&nbsp; &nbsp; SNAT&nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 192.168.0.0/24&nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; to:10.213.56.203 <br />4&nbsp; &nbsp; MASQUERADE&nbsp; all&nbsp; --&nbsp; anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;anywhere&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p><p>Chain OUTPUT (policy ACCEPT)<br />num&nbsp; target&nbsp; &nbsp; &nbsp;prot opt source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination&nbsp; <br /></div></p></div></div><p>Фаервол отключен ко всем службам, помогите пожалуйста вынес уже весь мозг, не пойму в чем проблема.</p><p><span style="color: red">В следующий раз, оформляйте Ваши сообщения используя тэги.</span></p>]]></description>
			<author><![CDATA[null@example.com (ekip)]]></author>
			<pubDate>Tue, 19 Oct 2010 15:52:40 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=102829#p102829</guid>
		</item>
	</channel>
</rss>
