<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; DHCP сервер и NetFilter]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=25701&amp;type=atom" />
	<updated>2012-12-22T18:52:23Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=25701</id>
		<entry>
			<title type="html"><![CDATA[Re: DHCP сервер и NetFilter]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=316104#p316104" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>dhcp запросы от клиентов по широковещательному а ответ по 67.<br />Сделайте OUTPUT -J DROP тогда и глянем.</p></blockquote></div><p>Неправильно, ответ от DHCP сервера клиентам по UDP 68. Но в любом случае входящие и по 67 и по 68 портах не разрешены</p>]]></content>
			<author>
				<name><![CDATA[shurik_7866]]></name>
				<uri>https://linuxforum.ru/profile.php?id=27028</uri>
			</author>
			<updated>2012-12-22T18:52:23Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=316104#p316104</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DHCP сервер и NetFilter]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=316055#p316055" />
			<content type="html"><![CDATA[<p>dhcp запросы от клиентов по широковещательному а ответ по 67.<br />Сделайте OUTPUT -J DROP тогда и глянем.</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2012-12-22T16:06:33Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=316055#p316055</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DHCP сервер и NetFilter]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=316021#p316021" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>afanasev.p пишет:</cite><blockquote><p>Вывод команд iptables -nvL --line-numbers &amp;&amp; iptables -nvL --line-numbers -t nat &amp;&amp; netstat -lnp был бы интереснее. Мб всё таки есть правила, разрешающие dhcp?</p></blockquote></div><p>$iptables -nvL --line-numbers &amp;&amp; iptables -nvL --line-numbers -t nat &amp;&amp; netstat -lnp</p><p>Chain INPUT (policy DROP 81 packets, 11507 bytes)<br />num&nbsp; &nbsp;pkts bytes target&nbsp; &nbsp; &nbsp;prot opt in&nbsp; &nbsp; &nbsp;out&nbsp; &nbsp; &nbsp;source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination<br />1&nbsp; &nbsp; &nbsp;1929 4020K ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;state RELATED,ESTABLISHED<br />2&nbsp; &nbsp; &nbsp; 155 10652 ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; lo&nbsp; &nbsp; &nbsp;*&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0<br />3&nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; 48 ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &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 dpt:22<br />4&nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; 60 ACCEPT&nbsp; &nbsp; &nbsp;icmp --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0<br />5&nbsp; &nbsp; &nbsp; &nbsp;61&nbsp; 5550 ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;192.168.0.0/24&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpt:137 state NEW<br />6&nbsp; &nbsp; &nbsp; &nbsp;28&nbsp; 6344 ACCEPT&nbsp; &nbsp; &nbsp;udp&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;192.168.0.0/24&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;udp dpt:138 state NEW<br />7&nbsp; &nbsp; &nbsp; &nbsp; 4&nbsp; &nbsp;192 ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;192.168.0.0/24&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:139 state NEW<br />8&nbsp; &nbsp; &nbsp; &nbsp; 4&nbsp; &nbsp;192 ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;192.168.0.0/24&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:445 state NEW<br />9&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp;0 ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;192.168.0.0/24&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:901<br />10&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp;0 ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;state NEW tcp dpt:20<br />11&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp;0 ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;state NEW tcp dpt:21<br />12&nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp;0 ACCEPT&nbsp; &nbsp; &nbsp;tcp&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;state NEW tcp dpts:64000:65535</p><p>Chain FORWARD (policy DROP 0 packets, 0 bytes)<br />num&nbsp; &nbsp;pkts bytes target&nbsp; &nbsp; &nbsp;prot opt in&nbsp; &nbsp; &nbsp;out&nbsp; &nbsp; &nbsp;source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination<br />1&nbsp; &nbsp; &nbsp;1697&nbsp; 317K ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; eth1&nbsp; &nbsp;eth0&nbsp; &nbsp; 192.168.0.0/24&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0<br />2&nbsp; &nbsp; &nbsp;1727&nbsp; 992K ACCEPT&nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; eth0&nbsp; &nbsp;eth1&nbsp; &nbsp; 0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.0.0/24</p><p>Chain OUTPUT (policy ACCEPT 2257 packets, 4115K bytes)<br />num&nbsp; &nbsp;pkts bytes target&nbsp; &nbsp; &nbsp;prot opt in&nbsp; &nbsp; &nbsp;out&nbsp; &nbsp; &nbsp;source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination</p><p>Chain RH-Firewall-1-INPUT (0 references)<br />num&nbsp; &nbsp;pkts bytes target&nbsp; &nbsp; &nbsp;prot opt in&nbsp; &nbsp; &nbsp;out&nbsp; &nbsp; &nbsp;source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination<br />Chain PREROUTING (policy ACCEPT 186 packets, 10853 bytes)<br />num&nbsp; &nbsp;pkts bytes target&nbsp; &nbsp; &nbsp;prot opt in&nbsp; &nbsp; &nbsp;out&nbsp; &nbsp; &nbsp;source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination<br />1&nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; 48 REDIRECT&nbsp; &nbsp;tcp&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &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 dpt:1022 redir ports 22<br />2&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp;0 REDIRECT&nbsp; &nbsp;tcp&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; *&nbsp; &nbsp; &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 dpt:22 redir ports 1022</p><p>Chain POSTROUTING (policy ACCEPT 227 packets, 17146 bytes)<br />num&nbsp; &nbsp;pkts bytes target&nbsp; &nbsp; &nbsp;prot opt in&nbsp; &nbsp; &nbsp;out&nbsp; &nbsp; &nbsp;source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination<br />1&nbsp; &nbsp; &nbsp; 164&nbsp; 7923 SNAT&nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; --&nbsp; *&nbsp; &nbsp; &nbsp; eth0&nbsp; &nbsp; 192.168.0.0/24&nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;to:82.144.201.71</p><p>Chain OUTPUT (policy ACCEPT 227 packets, 17146 bytes)<br />num&nbsp; &nbsp;pkts bytes target&nbsp; &nbsp; &nbsp;prot opt in&nbsp; &nbsp; &nbsp;out&nbsp; &nbsp; &nbsp;source&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;destination<br />Active Internet connections (only servers)<br />Proto Recv-Q Send-Q Local Address&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Foreign Address&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;State&nbsp; &nbsp; &nbsp; &nbsp;PID/Program name&nbsp; &nbsp;<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 127.0.0.1:2208&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2532/./hpiod&nbsp; &nbsp; &nbsp; &nbsp; <br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:2049&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; -&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:901&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2572/xinetd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:139&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2757/smbd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:45967&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; -&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:111&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2269/portmap&nbsp; &nbsp; &nbsp; &nbsp; <br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:21&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2663/vsftpd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:693&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2634/rpc.mountd&nbsp; &nbsp; &nbsp;<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:22&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2550/sshd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 127.0.0.1:631&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2559/cupsd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:791&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2305/rpc.statd&nbsp; &nbsp; &nbsp; <br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 127.0.0.1:25&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2692/sendmail&nbsp; &nbsp; &nbsp; &nbsp;<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:665&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2605/rpc.rquotad&nbsp; &nbsp; <br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:445&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2757/smbd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 127.0.0.1:2207&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN&nbsp; &nbsp; &nbsp; 2537/python&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />tcp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 :::22&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:::*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN&nbsp; &nbsp; &nbsp; 2550/sshd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:2049&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 82.144.201.71:137&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2760/nmbd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 192.168.0.101:137&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2760/nmbd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:137&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2760/nmbd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 82.144.201.71:138&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2760/nmbd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 192.168.0.101:138&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2760/nmbd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:138&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2760/nmbd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:785&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2305/rpc.statd&nbsp; &nbsp; &nbsp; <br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:788&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2305/rpc.statd&nbsp; &nbsp; &nbsp; <br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:662&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2605/rpc.rquotad&nbsp; &nbsp; <br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:43046&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2805/avahi-daemon&nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:690&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2634/rpc.mountd&nbsp; &nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:67&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2674/dhcpd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:68&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2066/dhclient&nbsp; &nbsp; &nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:50888&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:5353&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2805/avahi-daemon&nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:111&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2269/portmap&nbsp; &nbsp; &nbsp; &nbsp; <br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:631&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2559/cupsd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 :::5353&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:::*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2805/avahi-daemon&nbsp; &nbsp;<br />udp&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 :::45564&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :::*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2805/avahi-daemon&nbsp; &nbsp;<br />raw&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; 0 0.0.0.0:1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;7&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2674/dhcpd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />Active UNIX domain sockets (only servers)<br />Proto RefCnt Flags&nbsp; &nbsp; &nbsp; &nbsp;Type&nbsp; &nbsp; &nbsp; &nbsp;State&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I-Node PID/Program name&nbsp; &nbsp; Path<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;5776&nbsp; &nbsp;1787/iscsid&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ISCSIADM_ABSTRACT_NAMESPACE<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;9055&nbsp; &nbsp;2748/xfs&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /tmp/.font-unix/fs7100<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;9531&nbsp; &nbsp;2886/gdm-binary&nbsp; &nbsp; &nbsp;/tmp/.gdm_socket<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;9581&nbsp; &nbsp;2920/Xorg&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/tmp/.X11-unix/X0<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;9681&nbsp; &nbsp;2926/gam_server&nbsp; &nbsp; &nbsp;@/tmp/fam-root-<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;6272&nbsp; &nbsp;2181/audispd&nbsp; &nbsp; &nbsp; &nbsp; /var/run/audispd_events<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;6784&nbsp; &nbsp;2355/dbus-daemon&nbsp; &nbsp; /var/run/dbus/system_bus_socket<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;9001&nbsp; &nbsp;2710/gpm&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /dev/gpmctl<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;6854&nbsp; &nbsp;2370/sdpd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/var/run/sdp<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;6937&nbsp; &nbsp;2427/pcscd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /var/run/pcscd.comm<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;6962&nbsp; &nbsp;2437/acpid&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /var/run/acpid.socket<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;8371&nbsp; &nbsp;2559/cupsd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /var/run/cups/cups.sock<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;5760&nbsp; &nbsp;1780/iscsiuio&nbsp; &nbsp; &nbsp; &nbsp;@ISCSID_UIP_ABSTRACT_NAMESPACE<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;9231&nbsp; &nbsp;2805/avahi-daemon&nbsp; &nbsp;/var/run/avahi-daemon/socket<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;6988&nbsp; &nbsp;2446/hald&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@/var/run/hald/dbus-mM3EH45GY4<br />unix&nbsp; 2&nbsp; &nbsp; &nbsp; [ ACC ]&nbsp; &nbsp; &nbsp;STREAM&nbsp; &nbsp; &nbsp;LISTENING&nbsp; &nbsp; &nbsp;6987&nbsp; &nbsp;2446/hald&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@/var/run/hald/dbus-kv13tEtfNq</p>]]></content>
			<author>
				<name><![CDATA[shurik_7866]]></name>
				<uri>https://linuxforum.ru/profile.php?id=27028</uri>
			</author>
			<updated>2012-12-22T14:35:07Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=316021#p316021</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DHCP сервер и NetFilter]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=315993#p315993" />
			<content type="html"><![CDATA[<p>Вывод команд iptables -nvL --line-numbers &amp;&amp; iptables -nvL --line-numbers -t nat &amp;&amp; netstat -lnp был бы интереснее. Мб всё таки есть правила, разрешающие dhcp?</p>]]></content>
			<author>
				<name><![CDATA[afanasev.p]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25834</uri>
			</author>
			<updated>2012-12-22T09:02:10Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=315993#p315993</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DHCP сервер и NetFilter]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=315990#p315990" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>Не плохо бы ещё сами настройки dhcp-сервера увидеть.<br />P.S. А не может вам «помогать» что-либо вроде <a href="http://avahi.org/">Avahi</a>?</p></blockquote></div><p>Отключил avahi-daemon, все равно dhcpd принимает запросы от клиентов</p><p>Конфигурационный файл сервиса dhcpd&nbsp; /etc/dhcpd.conf</p><p>ddns-update-style interim;<br />ignore client-updates;<br />authoritative;</p><p>subnet 192.168.0.0 netmask 255.255.255.0 {<br />&nbsp; &nbsp; &nbsp; &nbsp; range 192.168.0.140 192.168.0.160;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; option subnet-mask 255.255.255.0;<br />&nbsp; &nbsp; &nbsp; &nbsp; option broadcast-address 192.168.0.255;<br />&nbsp; &nbsp; &nbsp; &nbsp; option routers 192.168.0.101;<br />&nbsp; &nbsp; &nbsp; &nbsp; option domain-name-servers 82.144.192.130;<br />&nbsp; &nbsp; &nbsp; &nbsp; option ip-forwarding off;<br />&nbsp; &nbsp; &nbsp; &nbsp; option ntp-servers 82.144.192.130;<br />#&nbsp; &nbsp; &nbsp; &nbsp;option domain-name &quot;my_dom.kiev.ua&quot;;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; default-lease-time 86400;<br />&nbsp; &nbsp; &nbsp; &nbsp; max-lease-time 172800;</p><p>#&nbsp; &nbsp; &nbsp; &nbsp;host alex-sv{<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hardware ethernet 00:1D:72:1C:87:A7;<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fixed-address 192.168.0.17;<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;option domain-name-servers 82.144.192.130, 82.144.192.131;<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;option host-name &quot;alex-cl&quot;;<br />#&nbsp; &nbsp; &nbsp; &nbsp;}<br />}</p><p>host alex-sv{<br />&nbsp; &nbsp; &nbsp; &nbsp; hardware ethernet 00:1D:72:1C:87:A7;<br />&nbsp; &nbsp; &nbsp; &nbsp; fixed-address 192.168.0.17;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; option subnet-mask 255.255.255.0;<br />&nbsp; &nbsp; &nbsp; &nbsp; option broadcast-address 192.168.0.255;<br />&nbsp; &nbsp; &nbsp; &nbsp; option routers 192.168.0.101;<br />&nbsp; &nbsp; &nbsp; &nbsp; option domain-name-servers 82.144.192.130, 82.144.192.131;<br />&nbsp; &nbsp; &nbsp; &nbsp; option ip-forwarding off;<br />&nbsp; &nbsp; &nbsp; &nbsp; option ntp-servers 82.144.192.130;<br />#&nbsp; &nbsp; &nbsp; &nbsp;option domain-name &quot;my_dom.kiev.ua&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; option host-name &quot;alex-cl&quot;;<br />}</p>]]></content>
			<author>
				<name><![CDATA[shurik_7866]]></name>
				<uri>https://linuxforum.ru/profile.php?id=27028</uri>
			</author>
			<updated>2012-12-22T08:27:49Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=315990#p315990</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DHCP сервер и NetFilter]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=315989#p315989" />
			<content type="html"><![CDATA[<p>Не плохо бы ещё сами настройки dhcp-сервера увидеть.<br />P.S. А не может вам «помогать» что-либо вроде <a href="http://avahi.org/">Avahi</a>?</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2012-12-22T08:25:06Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=315989#p315989</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DHCP сервер и NetFilter]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=315988#p315988" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>afanasev.p пишет:</cite><blockquote><p>с помощью telnet-а вы не можете проверить udp-соединения, только tcp<br />Если в правилах фаервола есть запрещение всех пакетов, то все пакеты будут запрещаться. Если есть разрешающие правила для каких-либо пакетов, то эти самые пакеты будут разрешаться. Другими словами - фаервол выполняет инструкции. Как и dhcp-сервер <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /> Сами они ничего делать не могут<br />Имхо, фаервол разрешает dhcp-пакеты (настроены соответствующие правила)</p><div class="quotebox"><blockquote><p>! и интересный момент - в инете нет вообще инфы по настройке NetFilter для DHCP сервера</p></blockquote></div><p><a href="http://lmgtfy.com/?q=dhcp+iptables+rules">http://lmgtfy.com/?q=dhcp+iptables+rules</a></p></blockquote></div><p>Вот ниже привожу содержимое файла /etc/sysconfig/iptables <br />Может кто подскажет где именно в нем разрешение для порта UDP 67</p><br /><br /><br /><br /><p># Generated by iptables-save v1.3.5 on Mon Dec 17 10:23:24 2012<br />*filter<br />:INPUT DROP [115:14499]<br />:FORWARD DROP [0:0]<br />:OUTPUT ACCEPT [1682:3934512]<br />:RH-Firewall-1-INPUT - [0:0]<br />-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT <br />-A INPUT -i lo -j ACCEPT <br />-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT <br />-A INPUT -p icmp -j ACCEPT <br />-A INPUT -s 192.168.0.0/255.255.255.0 -p udp -m udp --dport 137 -m state --state NEW -j ACCEPT <br />-A INPUT -s 192.168.0.0/255.255.255.0 -p udp -m udp --dport 138 -m state --state NEW -j ACCEPT <br />-A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 139 -m state --state NEW -j ACCEPT <br />-A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 445 -m state --state NEW -j ACCEPT <br />-A INPUT -s 192.168.0.0/255.255.255.0 -p tcp -m tcp --dport 901 -j ACCEPT <br />-A INPUT -p tcp -m state --state NEW -m tcp --dport 20 -j ACCEPT <br />-A INPUT -p tcp -m state --state NEW -m tcp --dport 21 -j ACCEPT <br />-A INPUT -p tcp -m state --state NEW -m tcp --dport 64000:65535 -j ACCEPT <br />-A FORWARD -s 192.168.0.0/255.255.255.0 -i eth1 -o eth0 -j ACCEPT <br />-A FORWARD -d 192.168.0.0/255.255.255.0 -i eth0 -o eth1 -j ACCEPT <br />COMMIT<br /># Completed on Mon Dec 17 10:23:24 2012<br /># Generated by iptables-save v1.3.5 on Mon Dec 17 10:23:24 2012<br />*nat<br />:PREROUTING ACCEPT [319:18442]<br />:POSTROUTING ACCEPT [210:17059]<br />:OUTPUT ACCEPT [210:17059]<br />-A PREROUTING -p tcp -m tcp --dport 1022 -j REDIRECT --to-ports 22 <br />-A PREROUTING -p tcp -m tcp --dport 22 -j REDIRECT --to-ports 1022 <br />-A POSTROUTING -s 192.168.0.0/255.255.255.0 -o eth0 -j SNAT --to-source 82.144.201.71 <br />COMMIT<br /># Completed on Mon Dec 17 10:23:24 2012<br /># Generated by iptables-save v1.3.5 on Mon Dec 17 10:23:24 2012<br />*mangle<br />:PREROUTING ACCEPT [8699:7744031]<br />:INPUT ACCEPT [1838:3966656]<br />:FORWARD ACCEPT [6859:3776751]<br />:OUTPUT ACCEPT [1700:3959928]<br />:POSTROUTING ACCEPT [8687:7755449]<br />COMMIT<br /># Completed on Mon Dec 17 10:23:24 2012</p>]]></content>
			<author>
				<name><![CDATA[shurik_7866]]></name>
				<uri>https://linuxforum.ru/profile.php?id=27028</uri>
			</author>
			<updated>2012-12-22T08:18:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=315988#p315988</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DHCP сервер и NetFilter]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=315986#p315986" />
			<content type="html"><![CDATA[<p>с помощью telnet-а вы не можете проверить udp-соединения, только tcp<br />Если в правилах фаервола есть запрещение всех пакетов, то все пакеты будут запрещаться. Если есть разрешающие правила для каких-либо пакетов, то эти самые пакеты будут разрешаться. Другими словами - фаервол выполняет инструкции. Как и dhcp-сервер <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /> Сами они ничего делать не могут<br />Имхо, фаервол разрешает dhcp-пакеты (настроены соответствующие правила)</p><div class="quotebox"><blockquote><p>! и интересный момент - в инете нет вообще инфы по настройке NetFilter для DHCP сервера</p></blockquote></div><p><a href="http://lmgtfy.com/?q=dhcp+iptables+rules">http://lmgtfy.com/?q=dhcp+iptables+rules</a></p>]]></content>
			<author>
				<name><![CDATA[afanasev.p]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25834</uri>
			</author>
			<updated>2012-12-22T08:01:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=315986#p315986</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[DHCP сервер и NetFilter]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=315983#p315983" />
			<content type="html"><![CDATA[<p>Ось - CentOS 5.8</p><p>Установил и настроил DHCP сервер. Все работает.</p><p>Но беспокоит одна вещь - DHCP сервак принимает запросы от клиентов по порту UDP 67, а он закрыт в NetFilter - для цепочки INPUT стандартная директива DROP и для 67 порта не ни какого правила. <br />Проверил что бы убедиться с помощью telnet из клиентской машины под Windows, по 67 порту не пускает<br />telnet 192.168.0.101 67&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p><br /><p>Возникает вопрос - Как DHCP сервак (dhcpd) умудряется принимать запросы от клиентов?</p><p>! и интересный момент - в инете нет вообще инфы по настройке NetFilter для DHCP сервера</p>]]></content>
			<author>
				<name><![CDATA[shurik_7866]]></name>
				<uri>https://linuxforum.ru/profile.php?id=27028</uri>
			</author>
			<updated>2012-12-22T07:45:27Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=315983#p315983</id>
		</entry>
</feed>
