<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Помогите iptables]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=18981&amp;type=atom" />
	<updated>2011-12-21T11:43:12Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=18981</id>
		<entry>
			<title type="html"><![CDATA[Re: Помогите iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=236279#p236279" />
			<content type="html"><![CDATA[<p>ну может так <br />iptables INPUT --dport 21 --sport !221&nbsp; -j DROP<br />Не знаю поможет ли.</p>]]></content>
			<author>
				<name><![CDATA[kisil]]></name>
				<uri>https://linuxforum.ru/profile.php?id=767</uri>
			</author>
			<updated>2011-12-21T11:43:12Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=236279#p236279</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Помогите iptables]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=235886#p235886" />
			<content type="html"><![CDATA[<p>проблема такая:<br />хочу закрыть порт 21 от внешнего доступа но так чтобы порт 221 перенаправлялся на 21</p><p>так перенаправлять работает. но как закрыть порт 21 чтобы не мешало 221<br />iptables -t nat -A PREROUTING -p tcp --dport 221 -j REDIRECT --to-ports 21</p><br /><br /><p>извинита проблему изложил ужасно и написал по русскый тоже ужассно&nbsp; <img src="https://linuxforum.ru/img/smilies/ac.gif" alt="ac" /></p>]]></content>
			<author>
				<name><![CDATA[lorlev]]></name>
				<uri>https://linuxforum.ru/profile.php?id=21074</uri>
			</author>
			<updated>2011-12-19T21:21:56Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=235886#p235886</id>
		</entry>
</feed>
