<?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; Несколько вопросов о samba и network]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=8524</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=8524&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Несколько вопросов о samba и network».]]></description>
		<lastBuildDate>Mon, 13 Dec 2010 12:45:22 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=121791#p121791</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>а ты в консоли под root</p><p>и потом пингуй) должно работать.<br /><img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /></p></blockquote></div><p>Да спасибо заработало&nbsp; smile</p>]]></description>
			<author><![CDATA[null@example.com (PowerMan)]]></author>
			<pubDate>Mon, 13 Dec 2010 12:45:22 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=121791#p121791</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=120769#p120769</link>
			<description><![CDATA[<p>а ты в консоли под root<br />iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE<br />iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE<br />iptables --table nat --append POSTROUTING --out-interface eth2 -j MASQUERADE<br />iptables --table nat --append POSTROUTING --out-interface eth3 -j MASQUERADE</p><p>и потом пингуй) должно работать.<br />Мне просто заняться нечем пока ядро собираеться тут и могу помоч <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /></p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Fri, 10 Dec 2010 12:00:13 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=120769#p120769</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=120768#p120768</link>
			<description><![CDATA[<p>Спасибо! Чуть попозже начну воять, а то боюсь как вчера народ без инет оставил&nbsp; <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /></p>]]></description>
			<author><![CDATA[null@example.com (PowerMan)]]></author>
			<pubDate>Fri, 10 Dec 2010 11:57:41 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=120768#p120768</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=120766#p120766</link>
			<description><![CDATA[<p>Я делаю такс<br />touch /home/firewall.sh<br />nano /home/firewall.sh<br />всё туда закидываю<br />chmod +x /home/firewall.sh<br />и в /etc/rc.local перед exit0 добавляю<br />/home/firewall.sh</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Fri, 10 Dec 2010 11:55:31 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=120766#p120766</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=120762#p120762</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Вот так будете как родные бегать к друг другу.</p></blockquote></div><p>А еще один глупый вопрос этот скрипт нуна написать внутри файлика /etc/iptables.up.rules<br />т.к. у меня ссылка на него&nbsp; из /etc/network/ interfaces ?</p>]]></description>
			<author><![CDATA[null@example.com (PowerMan)]]></author>
			<pubDate>Fri, 10 Dec 2010 11:53:21 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=120762#p120762</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=120756#p120756</link>
			<description><![CDATA[<p>Вот так будете как родные бегать к друг другу.</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Fri, 10 Dec 2010 11:48:12 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=120756#p120756</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=120755#p120755</link>
			<description><![CDATA[<p>#!/bin/bash<br />echo &quot;1&quot; &gt; /proc/sys/net/ipv4/ip_forward<br />echo 1 &gt; /proc/sys/net/ipv4/ip_dynaddr<br />modprobe iptable_nat<br />modprobe ip_conntrack_ftp<br />modprobe ip_nat_ftp<br />iptables -F<br />iptables -F -t nat<br />iptables -F -t mangle</p><p>iptables -P INPUT ACCEPT<br />iptables -P OUTPUT ACCEPT<br />iptables -P FORWARD ACCEPT</p><p>#Маскардинг<br />iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE<br />iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE<br />iptables --table nat --append POSTROUTING --out-interface eth2 -j MASQUERADE<br />iptables --table nat --append POSTROUTING --out-interface eth3 -j MASQUERADE<br />iptables --table nat --append POSTROUTING --out-interface eth4 -j MASQUERADE<br />iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Fri, 10 Dec 2010 11:47:38 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=120755#p120755</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=120740#p120740</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>PowerMan обрисуй точнее что хочешь и можно cделать под тебя скрипт.</p></blockquote></div><p> <br />Стоит шлюз на&nbsp; Debian 5 eth0-Inet есть ещë три карточки на три сети eth3 192.168.0.222. eth2 192.168.10.254 eth3 192.168.100.1</p><p>проблема в следующем из всех трех сетей я могу выходить в интернет, а другие машины к примеру 192.168.10.1 из машины 192.168.0.10 я невижу. вот в общем-то и все хочется бегать по этим сетям из любой точки (всмысле локально).</p>]]></description>
			<author><![CDATA[null@example.com (PowerMan)]]></author>
			<pubDate>Fri, 10 Dec 2010 11:18:59 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=120740#p120740</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=119944#p119944</link>
			<description><![CDATA[<p>PowerMan обрисуй точнее что хочешь и можно cделать под тебя скрипт.</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Wed, 08 Dec 2010 06:46:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=119944#p119944</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=119800#p119800</link>
			<description><![CDATA[<p>вам надо тогда задавать подсеть и маску. как то так:</p><p>xxx.xxx.xxx.0/24</p>]]></description>
			<author><![CDATA[null@example.com (zerg)]]></author>
			<pubDate>Tue, 07 Dec 2010 15:22:35 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=119800#p119800</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=119791#p119791</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><br /><p>Ну или так<br />iptables -A FORWARD -s 192.168.1.100 -d 192.168.3.100&nbsp; -j ACCEPT<br />iptables -A FORWARD -s 192.168.3.100 -d 192.168.1.100&nbsp; -j ACCEPT</p></blockquote></div><p>Т,е . если прописать эти строчки , то я буду из одной подсети в другую бегать и обратно?</p><p> Если так , то что я неправильно делаю?<br /> У меня настроен NAT eth0 - инет . eth1- локалка<br /> сейчас добавил еще один сетевой интерфейс eth2 <br />мне необходимо что бы с добавленной подсети выйти в инет и бегать по соседней подсети.</p><p>вывод вот&nbsp; но что-тото никак</p><p>iptables -L -n<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;<br />TCPMSS&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp flags:0x06/0x02 TCPMSS clamp to PMTU <br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 192.168.100.1&nbsp; &nbsp; &nbsp; &nbsp; 192.168.0.222&nbsp; &nbsp; &nbsp; &nbsp;<br />ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; 192.168.0.222&nbsp; &nbsp; &nbsp; &nbsp; 192.168.100.1&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</p>]]></description>
			<author><![CDATA[null@example.com (PowerMan)]]></author>
			<pubDate>Tue, 07 Dec 2010 14:35:20 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=119791#p119791</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=115435#p115435</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>порт открой tcp 443 или разреши прохождение.</p></blockquote></div><p>Прохожение разрешено. Более того, я на шлюзе вижу пакеты проходящие в обе стороны по FORWARD&#039;у. Они регистрируются в iptables. На моей (Linux) станции проблем c https нет никаких (MTU 1472). А вот IExplorer на пользовательских виндовых машинах не может открыть https-страницу (MTU ???). Тупо висит...</p><p>Нечто похожее я наблюдал, когда настраивал ремутный доступ к своим серверам. Зависоны ушли после назначения на них MTU 1396. Вот и сейчас думаю, что проблема где рядом с МТU.<br />===============================================<br />Докладываю - https после ввода данного правила и полного разрешения icmp на шлюзе (а без него правило смысла не имеет) заработало у юзерей в полном объеме.</p>]]></description>
			<author><![CDATA[null@example.com (Cruiser78)]]></author>
			<pubDate>Tue, 23 Nov 2010 07:11:50 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=115435#p115435</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=115385#p115385</link>
			<description><![CDATA[<p>порт открой tcp 443 или разреши прохождение.</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Mon, 22 Nov 2010 20:52:14 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=115385#p115385</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=115384#p115384</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Грубо говоря у проходящих пакетов меняет mtu хорошо помогает когда раздаёшь vpn инет.</p></blockquote></div><p>Понял. Не сталкивался пока с такой необходимостью. Но спинным мозгом чую, что не далее как завтра столкнусь. Никак не могу настроить прохождение https с виндовых машин. С мой (linux) работает, а виндовые установить соединеие не могут. Подумалось, что собака именно в MTU зарылась.</p>]]></description>
			<author><![CDATA[null@example.com (Cruiser78)]]></author>
			<pubDate>Mon, 22 Nov 2010 20:48:04 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=115384#p115384</guid>
		</item>
		<item>
			<title><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=115374#p115374</link>
			<description><![CDATA[<p>Грубо говоря у проходящих пакетов меняет mtu хорошо помогает когда раздаёшь vpn инет.</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Mon, 22 Nov 2010 20:16:58 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=115374#p115374</guid>
		</item>
	</channel>
</rss>
