<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Несколько вопросов о samba и network]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=8524&amp;type=atom" />
	<updated>2010-12-13T12:45:22Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=8524</id>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=121791#p121791" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[PowerMan]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13569</uri>
			</author>
			<updated>2010-12-13T12:45:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=121791#p121791</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=120769#p120769" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2010-12-10T12:00:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=120769#p120769</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=120768#p120768" />
			<content type="html"><![CDATA[<p>Спасибо! Чуть попозже начну воять, а то боюсь как вчера народ без инет оставил&nbsp; <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /></p>]]></content>
			<author>
				<name><![CDATA[PowerMan]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13569</uri>
			</author>
			<updated>2010-12-10T11:57:41Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=120768#p120768</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=120766#p120766" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2010-12-10T11:55:31Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=120766#p120766</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=120762#p120762" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Вот так будете как родные бегать к друг другу.</p></blockquote></div><p>А еще один глупый вопрос этот скрипт нуна написать внутри файлика /etc/iptables.up.rules<br />т.к. у меня ссылка на него&nbsp; из /etc/network/ interfaces ?</p>]]></content>
			<author>
				<name><![CDATA[PowerMan]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13569</uri>
			</author>
			<updated>2010-12-10T11:53:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=120762#p120762</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=120756#p120756" />
			<content type="html"><![CDATA[<p>Вот так будете как родные бегать к друг другу.</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2010-12-10T11:48:12Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=120756#p120756</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=120755#p120755" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2010-12-10T11:47:38Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=120755#p120755</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=120740#p120740" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[PowerMan]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13569</uri>
			</author>
			<updated>2010-12-10T11:18:59Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=120740#p120740</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=119944#p119944" />
			<content type="html"><![CDATA[<p>PowerMan обрисуй точнее что хочешь и можно cделать под тебя скрипт.</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2010-12-08T06:46:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=119944#p119944</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=119800#p119800" />
			<content type="html"><![CDATA[<p>вам надо тогда задавать подсеть и маску. как то так:</p><p>xxx.xxx.xxx.0/24</p>]]></content>
			<author>
				<name><![CDATA[zerg]]></name>
			</author>
			<updated>2010-12-07T15:22:35Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=119800#p119800</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=119791#p119791" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[PowerMan]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13569</uri>
			</author>
			<updated>2010-12-07T14:35:20Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=119791#p119791</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115435#p115435" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Cruiser78]]></name>
				<uri>https://linuxforum.ru/profile.php?id=631</uri>
			</author>
			<updated>2010-11-23T07:11:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115435#p115435</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115385#p115385" />
			<content type="html"><![CDATA[<p>порт открой tcp 443 или разреши прохождение.</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2010-11-22T20:52:14Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115385#p115385</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115384#p115384" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Грубо говоря у проходящих пакетов меняет mtu хорошо помогает когда раздаёшь vpn инет.</p></blockquote></div><p>Понял. Не сталкивался пока с такой необходимостью. Но спинным мозгом чую, что не далее как завтра столкнусь. Никак не могу настроить прохождение https с виндовых машин. С мой (linux) работает, а виндовые установить соединеие не могут. Подумалось, что собака именно в MTU зарылась.</p>]]></content>
			<author>
				<name><![CDATA[Cruiser78]]></name>
				<uri>https://linuxforum.ru/profile.php?id=631</uri>
			</author>
			<updated>2010-11-22T20:48:04Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115384#p115384</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Несколько вопросов о samba и network]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=115374#p115374" />
			<content type="html"><![CDATA[<p>Грубо говоря у проходящих пакетов меняет mtu хорошо помогает когда раздаёшь vpn инет.</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2010-11-22T20:16:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=115374#p115374</id>
		</entry>
</feed>
