<?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; Не идет раздача интернета в локальную сеть]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=3883</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=3883&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Не идет раздача интернета в локальную сеть».]]></description>
		<lastBuildDate>Sat, 05 Jun 2010 13:29:03 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=60009#p60009</link>
			<description><![CDATA[<div class="quotebox"><cite>lucefer пишет:</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"><br /># iptables -A FORWARD -s 168.192.1.0/24 -i eth0 -j ACCEPT<br /># iptables -A FORWARD -d 168.192.1.0/24 -o eth0 -j ACCEPT<br /># iptables -A FORWARD -o eth0 -p tcp -j DROP<br /># iptables -A FORWARD -o eth1 -p tcp -j DROP<br /># iptables -t nat -A PREROUTING --dst 192.168.1.1 -p tcp --dport 3128 -j DNAT --to-destination 192.168.1.1:8081<br /></div></p><p>Это то, что стоит сейчас. Здесь eth0 - смотрит в локальную сеть, eth1 - смотрит в интернет.<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 -A POSTROUTING -o eth1 -j SNAT --to-source 10.56.X.X<br /></div></p><p>но получил ошибку</p><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"><br /># iptables: No chain/target/match by that name.<br /></div></p></blockquote></div><p>Пробуй очистить, а потом разрешить все пока без всяких сквидов:<br />iptables -F<br />iptables -t nat -F<br />iptables -t mangle -F<br />iptables -X<br />iptables -t nat -X<br />iptables -t mangle -X<br />iptables -P INPUT ACCEPT<br />iptables -P FORWARD ACCEPT<br />iptables -P OUTPUT ACCEPT<br />iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o ppp0 -j SNAT --to-source 10.56.27.160</p><div class="quotebox"><cite>Lamer_In_Linux пишет:</cite><blockquote><p>Перечитав всю ту тему, так и не въехал...лог с рута, может кто подскажет как бороться<br /></p><div class="codebox"><pre><code>Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.64.64.64     *               255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     *               255.255.255.0   U     10     0        0 eth0
link-local      *               255.255.0.0     U     10     0        0 eth0
default         *               0.0.0.0         U     0      0        0 ppp0
default         linux-2.local   0.0.0.0         UG    10     0        0 eth0</code></pre></div><div class="codebox"><pre><code>ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:25:22:22:39:95
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:457 errors:0 dropped:0 overruns:0 frame:0
          TX packets:936 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:54891 (53.6 KiB)  TX bytes:129999 (126.9 KiB)
          Interrupt:27 Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3856 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3856 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:215108 (210.0 KiB)  TX bytes:215108 (210.0 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.236.38.89  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:176 errors:0 dropped:0 overruns:0 frame:0
          TX packets:194 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:82762 (80.8 KiB)  TX bytes:30974 (30.2 KiB)</code></pre></div></blockquote></div><p>iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE</p>]]></description>
			<author><![CDATA[null@example.com (sbin)]]></author>
			<pubDate>Sat, 05 Jun 2010 13:29:03 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=60009#p60009</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=59598#p59598</link>
			<description><![CDATA[<p>Перечитав всю ту тему, так и не въехал...лог с рута, может кто подскажет как бороться<br /></p><div class="codebox"><pre><code>Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.64.64.64     *               255.255.255.255 UH    0      0        0 ppp0
192.168.0.0     *               255.255.255.0   U     10     0        0 eth0
link-local      *               255.255.0.0     U     10     0        0 eth0
default         *               0.0.0.0         U     0      0        0 ppp0
default         linux-2.local   0.0.0.0         UG    10     0        0 eth0</code></pre></div><div class="codebox"><pre><code>ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:25:22:22:39:95
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:457 errors:0 dropped:0 overruns:0 frame:0
          TX packets:936 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:54891 (53.6 KiB)  TX bytes:129999 (126.9 KiB)
          Interrupt:27 Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3856 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3856 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:215108 (210.0 KiB)  TX bytes:215108 (210.0 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.236.38.89  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:176 errors:0 dropped:0 overruns:0 frame:0
          TX packets:194 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:82762 (80.8 KiB)  TX bytes:30974 (30.2 KiB)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Lamer_In_Linux)]]></author>
			<pubDate>Fri, 04 Jun 2010 09:10:01 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=59598#p59598</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=59439#p59439</link>
			<description><![CDATA[<p>С USB модемами не сталкивался, но думаю что по <a href="http://easylinux.ru/node/117">анологии</a>.<br />Едиснтвенное, вместо eth0 нужно будет писать тот сетевой интерфейс который даёт модем.</p>]]></description>
			<author><![CDATA[null@example.com (vint)]]></author>
			<pubDate>Thu, 03 Jun 2010 18:05:15 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=59439#p59439</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=59437#p59437</link>
			<description><![CDATA[<p>И ещё вопросик про раздачу интернета по локалу. Две мандривы фри, сеть настроена и модем (usb от МТС) не конфликтует. Но вот как заставить модем отправить интернет и на вторую машинку, тут вопрос. Пробовал центре управления-сеть и интернет-совместное использование интернет соединения...но оно мне говорит: &quot;В вашей системе не обнаружено ни одного настроенного для работы с локальной сетью сетевого адаптера.&quot; как это излечить и всё таки направить интернет не тока на первую машину, а на вторую.</p>]]></description>
			<author><![CDATA[null@example.com (Lamer_In_Linux)]]></author>
			<pubDate>Thu, 03 Jun 2010 17:59:16 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=59437#p59437</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=59423#p59423</link>
			<description><![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"><br /># iptables -A FORWARD -s 168.192.1.0/24 -i eth0 -j ACCEPT<br /># iptables -A FORWARD -d 168.192.1.0/24 -o eth0 -j ACCEPT<br /># iptables -A FORWARD -o eth0 -p tcp -j DROP<br /># iptables -A FORWARD -o eth1 -p tcp -j DROP<br /># iptables -t nat -A PREROUTING --dst 192.168.1.1 -p tcp --dport 3128 -j DNAT --to-destination 192.168.1.1:8081<br /></div></p><p>Это то, что стоит сейчас. Здесь eth0 - смотрит в локальную сеть, eth1 - смотрит в интернет.<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 -A POSTROUTING -o eth1 -j SNAT --to-source 10.56.X.X<br /></div></p><p>но получил ошибку</p><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"><br /># iptables: No chain/target/match by that name.<br /></div></p>]]></description>
			<author><![CDATA[null@example.com (lucefer)]]></author>
			<pubDate>Thu, 03 Jun 2010 17:40:35 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=59423#p59423</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=59307#p59307</link>
			<description><![CDATA[<div class="quotebox"><cite>lucefer пишет:</cite><blockquote><div class="quotebox"><cite>sbin пишет:</cite><blockquote><p>Зачем его конфиг??? Создай свой скрипт с правилами и запускай его при старте и там открывай порты.<br />Вот документация:<br /><a href="http://www.opennet.ru/docs/RUS/iptables/">http://www.opennet.ru/docs/RUS/iptables/</a><br /><a href="http://www.iptables.ru/">http://www.iptables.ru/</a></p></blockquote></div><p>Через конфиг&nbsp; для меня удобнее просто. Нашёл где лежит.<br />Создавал свои правила неоднократно. Не помогло. Все порты закрыты все равно.<br />Вернулся обратно на ALt Linux. Сделал все те же настройки, все заработало. Интересная вещь однако&nbsp; :o.</p></blockquote></div><p>Покажите Ваши правила.</p>]]></description>
			<author><![CDATA[null@example.com (sbin)]]></author>
			<pubDate>Thu, 03 Jun 2010 13:28:36 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=59307#p59307</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=59150#p59150</link>
			<description><![CDATA[<div class="quotebox"><cite>sbin пишет:</cite><blockquote><p>Зачем его конфиг??? Создай свой скрипт с правилами и запускай его при старте и там открывай порты.<br />Вот документация:<br /><a href="http://www.opennet.ru/docs/RUS/iptables/">http://www.opennet.ru/docs/RUS/iptables/</a><br /><a href="http://www.iptables.ru/">http://www.iptables.ru/</a></p></blockquote></div><p>Через конфиг&nbsp; для меня удобнее просто. Нашёл где лежит.<br />Создавал свои правила неоднократно. Не помогло. Все порты закрыты все равно.<br />Вернулся обратно на ALt Linux. Сделал все те же настройки, все заработало. Интересная вещь однако&nbsp; :o.</p>]]></description>
			<author><![CDATA[null@example.com (lucefer)]]></author>
			<pubDate>Thu, 03 Jun 2010 03:40:46 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=59150#p59150</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=57827#p57827</link>
			<description><![CDATA[<p>Зачем его конфиг??? Создай свой скрипт с правилами и запускай его при старте и там открывай порты.<br />Вот документация:<br /><a href="http://www.opennet.ru/docs/RUS/iptables/">http://www.opennet.ru/docs/RUS/iptables/</a><br /><a href="http://www.iptables.ru/">http://www.iptables.ru/</a></p>]]></description>
			<author><![CDATA[null@example.com (sbin)]]></author>
			<pubDate>Mon, 31 May 2010 11:52:19 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=57827#p57827</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=57758#p57758</link>
			<description><![CDATA[<div class="quotebox"><cite>kisil пишет:</cite><blockquote><p>Больно сильно у тебя файрвол настроен. Ты его сам настраивал? Если да то открой порт на каком весит прокся. С вывода iptables я понял что у тебя всё закрыто.</p></blockquote></div><p>Файрвол вообще не настраивал и не трогал. Но то, что порты закрыты понял сразу. У iptables есть вообще конфигурационный файл, чтобы его открыть и настроить файрвол?</p>]]></description>
			<author><![CDATA[null@example.com (lucefer)]]></author>
			<pubDate>Mon, 31 May 2010 09:29:44 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=57758#p57758</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=57712#p57712</link>
			<description><![CDATA[<p>Больно сильно у тебя файрвол настроен. Ты его сам настраивал? Если да то открой порт на каком весит прокся. С вывода iptables я понял что у тебя всё закрыто.</p>]]></description>
			<author><![CDATA[null@example.com (kisil)]]></author>
			<pubDate>Mon, 31 May 2010 05:05:02 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=57712#p57712</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=57705#p57705</link>
			<description><![CDATA[<div class="quotebox"><cite>sbin пишет:</cite><blockquote><p>А с сервера на комп идут?</p></blockquote></div><p>С сервера на комп пинги идут.</p><div class="quotebox"><cite>kisil пишет:</cite><blockquote><p>Для начала попробуй<br />iptables -L что даёт, а потом <br />iptables -A INPUT ACCEPT<br />iptables -A OUTPUT ACCEPT<br />iptables -A FORWARD ACCEPT</p></blockquote></div><p>iptables -L </p><div class="codebox"><pre><code>Chain INPUT (policy DROP)                                                
target     prot opt source               destination                     
Ifw        all  --  anywhere             anywhere                        
dynamic    all  --  anywhere             anywhere            state INVALID,NEW 
net2fw     all  --  anywhere             anywhere                              
net2fw     all  --  anywhere             anywhere                              
net2fw     all  --  anywhere             anywhere                              
net2fw     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED                                                                          
Reject     all  --  anywhere             anywhere                               
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:INPUT:REJECT:&#039;                                                    
reject     all  --  anywhere             anywhere            [goto]             

Chain FORWARD (policy DROP)
target     prot opt source               destination         
dynamic    all  --  anywhere             anywhere            state INVALID,NEW 
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere                              
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED                                                                          
Reject     all  --  anywhere             anywhere                               
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:FORWARD:REJECT:&#039;                                                  
reject     all  --  anywhere             anywhere            [goto]             

Chain OUTPUT (policy DROP)
target     prot opt source               destination         
fw2net     all  --  anywhere             anywhere            
fw2net     all  --  anywhere             anywhere            
fw2net     all  --  anywhere             anywhere            
fw2net     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED                                                                          
Reject     all  --  anywhere             anywhere                               
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:OUTPUT:REJECT:&#039;                                                   
reject     all  --  anywhere             anywhere            [goto]             

Chain Drop (1 references)
target     prot opt source               destination         
           all  --  anywhere             anywhere            
reject     tcp  --  anywhere             anywhere            tcp dpt:auth /* Auth */                                                                            
dropBcast  all  --  anywhere             anywhere                               
ACCEPT     icmp --  anywhere             anywhere            icmp fragmentation-needed /* Needed ICMP types */                                                  
ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded /* Needed ICMP types */                                                         
dropInvalid  all  --  anywhere             anywhere                             
DROP       udp  --  anywhere             anywhere            multiport dports 135,microsoft-ds /* SMB */                                                        
DROP       udp  --  anywhere             anywhere            udp dpts:netbios-ns:netbios-ssn /* SMB */                                                          
DROP       udp  --  anywhere             anywhere            udp spt:netbios-ns dpts:1024:65535 /* SMB */                                                       
DROP       tcp  --  anywhere             anywhere            multiport dports 135,netbios-ssn,microsoft-ds /* SMB */                                            
DROP       udp  --  anywhere             anywhere            udp dpt:1900 /* UPnP */                                                                            
dropNotSyn  tcp  --  anywhere             anywhere                              
DROP       udp  --  anywhere             anywhere            udp spt:domain /* Late DNS Replies */                                                              

Chain Ifw (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            match-set ifw_wl src                                                                               
DROP       all  --  anywhere             anywhere            match-set ifw_bl src                                                                               
IFWLOG     all  --  anywhere             anywhere            state INVALID,NEW psd weight-threshold: 10 delay-threshold: 10000 lo-ports-weight: 2 hi-ports-weight: 1 IFWLOG prefix &#039;SCAN&#039;                                                       

Chain Reject (3 references)
target     prot opt source               destination         
           all  --  anywhere             anywhere            
reject     tcp  --  anywhere             anywhere            tcp dpt:auth /* Auth */                                                                            
dropBcast  all  --  anywhere             anywhere                               
ACCEPT     icmp --  anywhere             anywhere            icmp fragmentation-needed /* Needed ICMP types */                                                  
ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded /* Needed ICMP types */                                                         
dropInvalid  all  --  anywhere             anywhere                             
reject     udp  --  anywhere             anywhere            multiport dports 135,microsoft-ds /* SMB */                                                        
reject     udp  --  anywhere             anywhere            udp dpts:netbios-ns:netbios-ssn /* SMB */                                                          
reject     udp  --  anywhere             anywhere            udp spt:netbios-ns dpts:1024:65535 /* SMB */                                                       
reject     tcp  --  anywhere             anywhere            multiport dports 135,netbios-ssn,microsoft-ds /* SMB */                                            
DROP       udp  --  anywhere             anywhere            udp dpt:1900 /* UPnP */                                                                            
dropNotSyn  tcp  --  anywhere             anywhere                              
DROP       udp  --  anywhere             anywhere            udp spt:domain /* Late DNS Replies */                                                              

Chain dropBcast (2 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            ADDRTYPE match dst-type BROADCAST                                                                  
DROP       all  --  anywhere             BASE-ADDRESS.MCAST.NET/4               

Chain dropInvalid (2 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            state INVALID 

Chain dropNotSyn (2 references)
target     prot opt source               destination         
DROP       tcp  --  anywhere             anywhere            tcp flags:!FIN,SYN,RST,ACK/SYN                                                                     

Chain dynamic (2 references)
target     prot opt source               destination         

Chain fw2net (4 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED                                                                          
ACCEPT     all  --  anywhere             anywhere                               

Chain logdrop (0 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere            

Chain logreject (0 references)
target     prot opt source               destination
reject     all  --  anywhere             anywhere

Chain net2fw (4 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
Drop       all  --  anywhere             anywhere
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:net2fw:DROP:&#039;
DROP       all  --  anywhere             anywhere

Chain reject (10 references)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere            ADDRTYPE match src-type BROADCAST
DROP       all  --  BASE-ADDRESS.MCAST.NET/4  anywhere
DROP       igmp --  anywhere             anywhere
REJECT     tcp  --  anywhere             anywhere            reject-with tcp-reset
REJECT     all  --  anywhere             anywhere            reject-with icmp-port-unreachable

Chain shorewall (0 references)
target     prot opt source               destination

Chain smurfs (0 references)
target     prot opt source               destination
RETURN     all  --  default              anywhere
LOG        all  --  anywhere             anywhere            ADDRTYPE match src-type BROADCAST LOG level info prefix `Shorewall:smurfs:DROP:&#039;
DROP       all  --  anywhere             anywhere            ADDRTYPE match src-type BROADCAST
LOG        all  --  BASE-ADDRESS.MCAST.NET/4  anywhere            LOG level info prefix `Shorewall:smurfs:DROP:&#039;
DROP       all  --  BASE-ADDRESS.MCAST.NET/4  anywhere</code></pre></div><p>iptables -A INPUT ACCEPT</p><div class="codebox"><pre><code>Bad argument `ACCEPT&#039;
Try `iptables -h&#039; or &#039;iptables --help&#039; for more information.</code></pre></div><div class="quotebox"><cite>AlexNik пишет:</cite><blockquote><p>Как сеть организована? Может стоит фильтрация по ip или mас - адресам?<br />маска? шлюзы? ip-статический?<br />маршруты? что выводит route?<br />Если нет пинга проблема или в фаерволе или в сети. Для начала можно отключить фаервол.<br />Отключить на обоих компьютерах.</p></blockquote></div><p>Никакой фильтрации я не ставил еще. Все IP статические и прописаны как положено.</p><p>route<br /></p><div class="codebox"><pre><code>Kernel IP routing table
Destination     Gateway         Genmask             Flags Metric Ref    Use Iface
10.56.27.160    *                 255.255.255.224  U     5      0        0 eth1
192.168.1.0      *                 255.255.255.0      U     5      0        0 eth0
link-local            *                 255.255.0.0          U     5      0        0 eth0
link-local            *                 255.255.0.0           U     5      0        0 eth1
default         10.56.27.161     0.0.0.0                UG    5      0        0 eth1</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (lucefer)]]></author>
			<pubDate>Mon, 31 May 2010 03:12:30 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=57705#p57705</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=57450#p57450</link>
			<description><![CDATA[<p>Я раздачу интернета делал без прокси сервера. Не нужно это дома. <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p><p>Чтоб проходил пинг, в фаерволе нужно снять галочку с пинга. после будет работать.</p>]]></description>
			<author><![CDATA[null@example.com (vint)]]></author>
			<pubDate>Sun, 30 May 2010 09:37:59 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=57450#p57450</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=57390#p57390</link>
			<description><![CDATA[<p>Как сеть организована? Может стоит фильтрация по ip или mас - адресам?<br />маска? шлюзы? ip-статический?</p><p>маршруты? что выводит route?</p><br /><br /><p>Если нет пинга проблема или в фаерволе или в сети. Для начала можно отключить фаервол.</p><br /><br /><p>Отключить на обоих компьютерах.</p>]]></description>
			<author><![CDATA[null@example.com (AlexNik)]]></author>
			<pubDate>Sun, 30 May 2010 05:25:28 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=57390#p57390</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=57321#p57321</link>
			<description><![CDATA[<p>Для начала попробуй<br />iptables -L что даёт, а потом <br />iptables -A INPUT ACCEPT<br />iptables -A OUTPUT ACCEPT<br />iptables -A FORWARD ACCEPT</p>]]></description>
			<author><![CDATA[null@example.com (kisil)]]></author>
			<pubDate>Sat, 29 May 2010 19:03:00 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=57321#p57321</guid>
		</item>
		<item>
			<title><![CDATA[Re: Не идет раздача интернета в локальную сеть]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=57282#p57282</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>P.P.S. Пинг с локальной машины на сервер не проходит. В чем может быть проблема?,</p></blockquote></div><p>Вот с этого и нужно начать. Почему не ходит пинг.<br />А с сервера на комп идут?</p>]]></description>
			<author><![CDATA[null@example.com (sbin)]]></author>
			<pubDate>Sat, 29 May 2010 18:21:30 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=57282#p57282</guid>
		</item>
	</channel>
</rss>
