<?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; Debian sqeeze и iptables]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=18086</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=18086&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Debian sqeeze и iptables».]]></description>
		<lastBuildDate>Mon, 14 Nov 2011 21:56:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Debian sqeeze и iptables]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=225535#p225535</link>
			<description><![CDATA[<div class="quotebox"><cite>riso пишет:</cite><blockquote><p><strong>4fun</strong>, зачем ребутить iptables ?</p></blockquote></div><p>На всякий спросил, дабы, если все-таки возникнет необходимость, не создавать опять тему.</p><p>Всем спасибо за ответы.</p>]]></description>
			<author><![CDATA[null@example.com (4fun)]]></author>
			<pubDate>Mon, 14 Nov 2011 21:56:48 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=225535#p225535</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian sqeeze и iptables]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=225534#p225534</link>
			<description><![CDATA[<p><strong>4fun</strong>, зачем ребутить iptables ?</p>]]></description>
			<author><![CDATA[null@example.com (riso)]]></author>
			<pubDate>Mon, 14 Nov 2011 21:53:18 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=225534#p225534</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian sqeeze и iptables]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=225532#p225532</link>
			<description><![CDATA[<p><strong>4fun</strong>, в Debian нет конструкции <span style="color: blue"># service iptables status</span><br />Остальное написано в предидущем сообщении.</p><p>Вот пример с iptables-save/restore<br />/etc/network/interfaces<br /></p><div class="codebox"><pre><code>auto eth0
  iface eth0 inet static
    address 192.168.0.1
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    up iptables-restore
    down iptables-save
    # Также можно:
    pre-up &lt;command&gt;
    post-up &lt;command&gt;</code></pre></div><p>При поднятии интерфейса правила восстанавливаются, при опускании - сохраняются.</p><p>Ну и стандартно - просто скрипт с правилами, который выполняется при загрузке - имхо самый распостраненный вариант, можно положить в каталог например if-up.</p>]]></description>
			<author><![CDATA[null@example.com (zenon)]]></author>
			<pubDate>Mon, 14 Nov 2011 21:48:00 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=225532#p225532</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian sqeeze и iptables]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=225531#p225531</link>
			<description><![CDATA[<div class="quotebox"><cite>newzenon пишет:</cite><blockquote><p><strong>4fun</strong>, iptables уже установлен, что не ясно?<br /></p><div class="codebox"><pre><code># service iptables status</code></pre></div><p>Такого в Debian _нет_!</p></blockquote></div><p>Чего именно &quot;такого&quot; в дебиане нету?<br />Как мне тогда, в случае чего, ребутнуть iptables? Ведь нет никакого скрипта. По крайней мере, я не нашел его.</p>]]></description>
			<author><![CDATA[null@example.com (4fun)]]></author>
			<pubDate>Mon, 14 Nov 2011 21:20:36 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=225531#p225531</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian sqeeze и iptables]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=225525#p225525</link>
			<description><![CDATA[<p><strong>4fun</strong>, iptables уже установлен, что не ясно?<br /></p><div class="codebox"><pre><code># service iptables status</code></pre></div><p>Такого в Debian _нет_!</p><p>Пользуйся либо скриптом (сам пиши) либо iptables-save и iptables-restore.<br />Пример как <a href="http://linuxforum.ru/viewtopic.php?pid=176106#p176106">http://linuxforum.ru/viewtopic.php?pid=176106#p176106</a></p><p>Либо в секцию up интерфейса - прописать iptables-restore, соответственно в секцию down -&nbsp; iptables-save.<br />Где эти секции - man interfaces.<br />Если хочется init скрипт - то никто не запрещает - принцип построения можно подсмотреть в гугле.<br />Вот как пример привожу:<br /></p><div class="codebox"><pre><code>#!/sbin/runscript
IPTABLES=/sbin/iptables
IPTABLESSAVE=/sbin/iptables-save
IPTABLESRESTORE=/sbin/iptables-restore
FIREWALL=/etc/firewall.rules
DNS1=195.5.39.5
DNS2=195.5.39.9
#inside
IIP=10.19.2.10
IINTERFACE=eth0
LOCAL_NETWORK=10.19.2.0/24
#outside
OIP=172.16.0.9
OINTERFACE=eth1

opts=&quot;$ showstatus panic save restore showoptions rules&quot;

depend() {
  need net procparam
}

rules() {
  stop
  ebegin &quot;Setting internal rules&quot;

  einfo &quot;Setting default rule to drop&quot;
  $IPTABLES -P FORWARD DROP
  $IPTABLES -P INPUT   DROP
  $IPTABLES -P OUTPUT  DROP

  #default rule
  einfo &quot;Creating states chain&quot;
  $IPTABLES -N allowed-connection
  $IPTABLES -F allowed-connection
  $IPTABLES -A allowed-connection -m state --state ESTABLISHED,RELATED -j ACCEPT
  $IPTABLES -A allowed-connection -i $IINTERFACE -m limit -j LOG --log-prefix &quot;Bad packet from $:&quot;
  $IPTABLES -A allowed-connection -j DROP

  #ICMP traffic
  einfo &quot;Creating icmp chain&quot;
  $IPTABLES -N icmp_allowed
  $IPTABLES -F icmp_allowed
#  $IPTABLES -A icmp_allowed -m state --state NEW -p icmp --icmp-type time-exceeded -j ACCEPT
#  $IPTABLES -A icmp_allowed -m state --state NEW -p icmp --icmp-type destination-unreachable -j ACCEPT
  $IPTABLES -A icmp_allowed -p icmp --icmp-type 4   -j ACCEPT
  $IPTABLES -A icmp_allowed -p icmp --icmp-type 12  -j ACCEPT
  $IPTABLES -A icmp_allowed -p icmp --icmp-type 3   -j ACCEPT
  $IPTABLES -A icmp_allowed -p icmp --icmp-type 11  -j ACCEPT
  $IPTABLES -A icmp_allowed -p icmp --icmp-type 8  -j ACCEPT
  $IPTABLES -A icmp_allowed -p icmp --icmp-type 0  -j ACCEPT
  $IPTABLES -A icmp_allowed -p icmp -j LOG --log-prefix &quot;Bad ICMP traffic:&quot;
  $IPTABLES -A icmp_allowed -p icmp -j DROP

  #Incoming traffic
  einfo &quot;Creating incoming ssh traffic chain&quot;
  $IPTABLES -N allow-ssh-traffic-in
  $IPTABLES -F allow-ssh-traffic-in
  #Flood protection
  $IPTABLES -A allow-ssh-traffic-in -m limit --limit 1/second -p tcp --tcp-flags ALL RST --dport ssh -j ACCEPT
  $IPTABLES -A allow-ssh-traffic-in -m limit --limit 1/second -p tcp --tcp-flags ALL FIN --dport ssh -j ACCEPT
  $IPTABLES -A allow-ssh-traffic-in -m limit --limit 1/second -p tcp --tcp-flags ALL SYN --dport ssh -j ACCEPT
  $IPTABLES -A allow-ssh-traffic-in -m state --state RELATED,ESTABLISHED -p tcp --dport ssh -j ACCEPT

  einfo &quot;Creating incoming http traffic chain&quot;
  $IPTABLES -N allow-www-traffic-in
  $IPTABLES -F allow-www-traffic-in
  #Flood protection
  $IPTABLES -A allow-www-traffic-in -m limit --limit 1/second -p tcp --tcp-flags ALL RST --dport www -j ACCEPT
  $IPTABLES -A allow-www-traffic-in -m limit --limit 1/second -p tcp --tcp-flags ALL FIN --dport www -j ACCEPT
  $IPTABLES -A allow-www-traffic-in -m limit --limit 1/second -p tcp --tcp-flags ALL SYN --dport www -j ACCEPT
  $IPTABLES -A allow-www-traffic-in -m state --state RELATED,ESTABLISHED -p tcp --dport www -j ACCEPT

  einfo &quot;Creating incoming ftp traffic chain&quot;
  $IPTABLES -N allow-ftp-traffic-in
  $IPTABLES -F allow-ftp-traffic-in
  #Flood protection
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 5/second -p tcp --tcp-flags ALL RST -s 10.19.2.0/24 --sport ftp -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 5/second -p tcp --tcp-flags ALL FIN -s 10.19.2.0/24 --sport ftp -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 5/second -p tcp --tcp-flags ALL SYN -s 10.19.2.0/24 --sport ftp -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m state --state RELATED,ESTABLISHED -p tcp -s 10.19.2.0/24 --sport ftp -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 5/second -p tcp --tcp-flags ALL RST -s 10.19.2.0/24 --sport 1024:65365 -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 5/second -p tcp --tcp-flags ALL FIN -s 10.19.2.0/24 --sport 1024:65365 -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 5/second -p tcp --tcp-flags ALL SYN -s 10.19.2.0/24 --sport 1024:65365 -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m state --state RELATED,ESTABLISHED -p tcp -s 10.19.2.0/24 --sport 1024:65365 -j ACCEPT
  
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 5/second -p tcp --tcp-flags ALL RST -s 172.16.0.0/24 --sport ftp -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 5/second -p tcp --tcp-flags ALL FIN -s 172.16.0.0/24 --sport ftp -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 5/second -p tcp --tcp-flags ALL SYN -s 172.16.0.0/24 --sport ftp -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m state --state RELATED,ESTABLISHED -p tcp -s 172.16.0.0/24 --sport ftp -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 5/second -p tcp --tcp-flags ALL RST -s 172.16.0.0/24 --sport 1024:65365 -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 5/second -p tcp --tcp-flags ALL FIN -s 172.16.0.0/24 --sport 1024:65365 -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 5/second -p tcp --tcp-flags ALL SYN -s 172.16.0.0/24 --sport 1024:65365 -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m state --state RELATED,ESTABLISHED -p tcp -s 172.16.0.0/24 --sport 1024:65365 -j ACCEPT
    
  #Music
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 1/second -p tcp --tcp-flags ALL RST --dport 8020 -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 1/second -p tcp --tcp-flags ALL FIN --dport 8020 -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m limit --limit 1/second -p tcp --tcp-flags ALL SYN --dport 8020 -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-in -m state --state RELATED,ESTABLISHED -p tcp -m tcp --dport 8020 -j ACCEPT

  einfo &quot;Creating incoming smb traffic chain&quot;
  $IPTABLES -N allow-smb-traffic-in
  $IPTABLES -F allow-smb-traffic-in
  $IPTABLES -A allow-smb-traffic-in -p tcp --tcp-flags ALL SYN -s 10.19.20.0/24 --dport netbios-ssn -j ACCEPT
  $IPTABLES -A allow-smb-traffic-in -m state --state RELATED,ESTABLISHED -p tcp -s 10.19.20.0/24 --dport netbios-ssn -j ACCEPT
  $IPTABLES -A allow-smb-traffic-in -p udp -s 10.19.20.0/24 --dport netbios-ns -j ACCEPT
  $IPTABLES -A allow-smb-traffic-in -p udp -s 10.19.20.0/24 --dport netbios-dgm -j ACCEPT
  $IPTABLES -A allow-smb-traffic-in -p udp -s 10.19.20.0/24 --dport 445 -j ACCEPT

  einfo &quot;Creating incoming ntp traffic chain&quot;
  $IPTABLES -N allow-time-traffic-in
  $IPTABLES -F allow-time-traffic-in
  $IPTABLES -A allow-time-traffic-in -p udp --dport ntp -j ACCEPT

  #Outgoing traffic
  einfo &quot;Creating outgoing ssh traffic chain&quot;
  $IPTABLES -N allow-ssh-traffic-out
  $IPTABLES -F allow-ssh-traffic-out
  $IPTABLES -A allow-ssh-traffic-out -p tcp --dport ssh -j ACCEPT

  einfo &quot;Creating outgoing dns traffic chain&quot;
  $IPTABLES -N allow-dns-traffic-out
  $IPTABLES -F allow-dns-traffic-out
  $IPTABLES -A allow-dns-traffic-out -p udp -d $DNS1 --dport domain -j ACCEPT
  $IPTABLES -A allow-dns-traffic-out -p udp -d $DNS2 --dport domain -j ACCEPT

  einfo &quot;Creating outgoing http/https traffic chain&quot;
  $IPTABLES -N allow-www-traffic-out
  $IPTABLES -F allow-www-traffic-out
  $IPTABLES -A allow-www-traffic-out -p tcp --dport www -j ACCEPT
  $IPTABLES -A allow-www-traffic-out -p tcp --dport https -j ACCEPT

  einfo &quot;Creating outgoing mail traffic chain&quot;
  $IPTABLES -N allow-mail-traffic-out
  $IPTABLES -F allow-mail-traffic-out
  $IPTABLES -A allow-mail-traffic-out -p tcp --dport smtp  -j ACCEPT
  $IPTABLES -A allow-mail-traffic-out -p tcp --dport pop3  -j ACCEPT
  $IPTABLES -A allow-mail-traffic-out -p tcp --dport imap2 -j ACCEPT
  
  einfo &quot;Creating outgoing ftp traffic chain&quot;
  $IPTABLES -N allow-ftp-traffic-out
  $IPTABLES -F allow-ftp-traffic-out
  $IPTABLES -A allow-ftp-traffic-out -p tcp --dport 1024:65365 -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-out -p tcp --dport ftp -j ACCEPT
  $IPTABLES -A allow-ftp-traffic-out -p tcp --dport ftp-data -j ACCEPT

  einfo &quot;Creating outgoing smb traffic chain&quot;
  $IPTABLES -N allow-smb-traffic-out
  $IPTABLES -F allow-smb-traffic-out
  $IPTABLES -A allow-smb-traffic-out -p tcp --dport netbios-ssn -j ACCEPT
  $IPTABLES -A allow-smb-traffic-out -p udp --dport netbios-ns  -j ACCEPT
  $IPTABLES -A allow-smb-traffic-out -p udp --dport netbios-dgm -j ACCEPT
  $IPTABLES -A allow-smb-traffic-out -p tcp --dport 445 -j ACCEPT

  einfo &quot;Creating outgoing krab/terminal traffic chain&quot;
  $IPTABLES -N allow-krab-term-traffic-out
  $IPTABLES -F allow-krab-term-traffic-out
  $IPTABLES -A allow-krab-term-traffic-out -p tcp --dport 3050 -j ACCEPT
  $IPTABLES -A allow-krab-term-traffic-out -p tcp --dport 3389 -j ACCEPT

  einfo &quot;Creating outgoing ntp traffic chain&quot;
  $IPTABLES -N allow-time-traffic-out
  $IPTABLES -F allow-time-traffic-out
  $IPTABLES -A allow-time-traffic-out -p udp --dport ntp -j ACCEPT
  $IPTABLES -A allow-time-traffic-out -p udp --dport ntp -j ACCEPT

  #Catch portscanners
  einfo &quot;Creating portscan detection chain&quot;
  $IPTABLES -N check-flags
  $IPTABLES -F check-flags
  $IPTABLES -A check-flags -p tcp --tcp-flags ALL FIN,URG,PSH -m limit --limit 5/minute -j LOG --log-level alert --log-prefix &quot;NMAP-XMAS:&quot; 
  $IPTABLES -A check-flags -p tcp --tcp-flags ALL FIN,URG,PSH -j DROP
  $IPTABLES -A check-flags -p tcp --tcp-flags ALL ALL -m limit --limit 5/minute -j LOG --log-level 1 --log-prefix &quot;XMAS:&quot;
  $IPTABLES -A check-flags -p tcp --tcp-flags ALL ALL -j DROP
  $IPTABLES -A check-flags -p tcp --tcp-flags ALL SYN,RST,ACK,FIN,URG -m limit --limit 5/minute -j LOG --log-level 1 --log-prefix &quot;XMAS-PSH:&quot;
  $IPTABLES -A check-flags -p tcp --tcp-flags ALL SYN,RST,ACK,FIN,URG -j DROP
  $IPTABLES -A check-flags -p tcp --tcp-flags ALL NONE -m limit --limit 5/minute -j LOG --log-level 1 --log-prefix &quot;NULL_SCAN:&quot;
  $IPTABLES -A check-flags -p tcp --tcp-flags ALL NONE -j DROP 
  $IPTABLES -A check-flags -p tcp --tcp-flags SYN,RST SYN,RST -m limit --limit 5/minute -j LOG --log-level 5 --log-prefix &quot;SYN/RST:&quot;
  $IPTABLES -A check-flags -p tcp --tcp-flags SYN,RST SYN,RST -j DROP
  $IPTABLES -A check-flags -p tcp --tcp-flags SYN,FIN SYN,FIN -m limit --limit 5/minute -j LOG --log-level 5 --log-prefix &quot;SYN/FIN:&quot;
  $IPTABLES -A check-flags -p tcp --tcp-flags SYN,FIN SYN,FIN -j DROP

  # Apply and add invalid states to the chains
  einfo &quot;Applying chains to INPUT&quot;
  $IPTABLES -A INPUT -m state --state INVALID -j DROP
  $IPTABLES -A INPUT -j icmp_allowed 
  $IPTABLES -A INPUT -j check-flags
  $IPTABLES -A INPUT -i lo -j ACCEPT
  $IPTABLES -A INPUT -j allow-ssh-traffic-in
  $IPTABLES -A INPUT -j allow-www-traffic-in
  $IPTABLES -A INPUT -j allow-ftp-traffic-in
  $IPTABLES -A INPUT -j allow-smb-traffic-in
  $IPTABLES -A INPUT -j allow-time-traffic-in
  $IPTABLES -A INPUT -j allowed-connection

  einfo &quot;Applying chains to FORWARD&quot;
  $IPTABLES -A FORWARD -m state --state INVALID -j DROP
  $IPTABLES -A FORWARD -j icmp_allowed 
  $IPTABLES -A FORWARD -j check-flags
  $IPTABLES -A FORWARD -o lo -j ACCEPT
#  $IPTABLES -A FORWARD -j allow-ssh-traffic-in
#  $IPTABLES -A FORWARD -j allow-time-traffic-in
#  $IPTABLES -A FORWARD -j allow-ftp-traffic-in
#  $IPTABLES -A FORWARD -j allow-www-traffic-in
#  $IPTABLES -A FORWARD -j allow-www-traffic-out
  $IPTABLES -A FORWARD -j allowed-connection

  einfo &quot;Applying chains to OUTPUT&quot;
  $IPTABLES -A OUTPUT -m state --state INVALID -j DROP
  $IPTABLES -A OUTPUT -j icmp_allowed
  $IPTABLES -A OUTPUT -j check-flags
  $IPTABLES -A OUTPUT -o lo -j ACCEPT
  $IPTABLES -A OUTPUT -j allow-ssh-traffic-out
  $IPTABLES -A OUTPUT -j allow-dns-traffic-out
  $IPTABLES -A OUTPUT -j allow-www-traffic-out
  $IPTABLES -A OUTPUT -j allow-mail-traffic-out
  $IPTABLES -A OUTPUT -j allow-ftp-traffic-out
  $IPTABLES -A OUTPUT -j allow-smb-traffic-out
  $IPTABLES -A OUTPUT -j allow-krab-term-traffic-out
  $IPTABLES -A OUTPUT -j allow-time-traffic-out
  $IPTABLES -A OUTPUT -j allowed-connection

  #Allow client to route through via NAT (Network Address Translation)
  $IPTABLES -t nat -A POSTROUTING -o $IINTERFACE -j MASQUERADE 
  eend $?
}

start() {
  ebegin &quot;Starting firewall&quot;
  if [ -e &quot;$&quot; ]; then
    restore
  else
    einfo &quot;$ does not exists. Using default rules.&quot;
    rules
  fi
  eend $?
}

stop() {
  ebegin &quot;Stopping firewall&quot;
  $IPTABLES -F
  $IPTABLES -t nat -F
  $IPTABLES -X
  $IPTABLES -P FORWARD ACCEPT
  $IPTABLES -P INPUT   ACCEPT
  $IPTABLES -P OUTPUT  ACCEPT
  eend $?
}

showstatus() {
  ebegin &quot;Status&quot;
  $IPTABLES -L -n -v --line-numbers
  einfo &quot;NAT status&quot;
  $IPTABLES -L -n -v --line-numbers -t nat
  eend $?
}

panic() {
  ebegin &quot;Setting panic rules&quot;
  $IPTABLES -F
  $IPTABLES -X
  $IPTABLES -t nat -F
  $IPTABLES -P FORWARD DROP
  $IPTABLES -P INPUT   DROP
  $IPTABLES -P OUTPUT  DROP
  $IPTABLES -A INPUT -i lo -j ACCEPT
  $IPTABLES -A OUTPUT -o lo -j ACCEPT
  eend $?
}

save() {
  ebegin &quot;Saving Firewall rules&quot;
  $IPTABLESSAVE &gt; $FIREWALL
  eend $?
}

restore() {
  ebegin &quot;Restoring Firewall rules&quot;
  $IPTABLESRESTORE &lt; $FIREWALL
  eend $?
}

restart() {
  svc_stop; svc_start
}

showoptions() {
  echo &quot;Usage: $0 &quot;
  echo &quot;start)      will restore setting if exists else force rules&quot;
  echo &quot;stop)       delete all rules and set all to accept&quot;
  echo &quot;rules)      force settings of new rules&quot;
  echo &quot;save)       will store settings in $&quot;
  echo &quot;restore)    will restore settings from $&quot;
  echo &quot;showstatus) Shows the status&quot; 
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (zenon)]]></author>
			<pubDate>Mon, 14 Nov 2011 20:32:30 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=225525#p225525</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debian sqeeze и iptables]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=225524#p225524</link>
			<description><![CDATA[<p><strong>4fun</strong>, список файлов установленной программы можно посмотреть с помощью команды:<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">$ dpkg -L iptables<br /></div></p>]]></description>
			<author><![CDATA[null@example.com (SidER)]]></author>
			<pubDate>Mon, 14 Nov 2011 20:31:54 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=225524#p225524</guid>
		</item>
		<item>
			<title><![CDATA[Debian sqeeze и iptables]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=225523#p225523</link>
			<description><![CDATA[<p>Как видно в консоли, при попытке установить iptables, пишет, что уже установлено, хотя ни в /etc, ни в /etc/init.d нет ничего, что принадлежало бы iptables. Как можно его установить? Зараннее спасибо</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"># service iptables status<br />iptables: unrecognized service</div></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"># apt-get install iptables<br />Reading package lists... Done<br />Building dependency tree<br />Reading state information... Done<br />iptables is already the newest version.<br />0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.</div></p>]]></description>
			<author><![CDATA[null@example.com (4fun)]]></author>
			<pubDate>Mon, 14 Nov 2011 20:20:20 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=225523#p225523</guid>
		</item>
	</channel>
</rss>
