Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-doc-cvs
Navigation:
Lists: gentoo-doc-cvs: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-doc-cvs@g.o
From: "Joshua Saddler (nightmorph)" <nightmorph@g.o>
Subject: gentoo commit in xml/htdocs/doc/en: home-router-howto.xml
Date: Fri, 18 Sep 2009 08:36:43 +0000
nightmorph    09/09/18 08:36:43

  Modified:             home-router-howto.xml
  Log:
  update home router guide for the new iptables syntax, patch from bug 285416

Revision  Changes    Path
1.63                 xml/htdocs/doc/en/home-router-howto.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/home-router-howto.xml?rev=1.63&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/home-router-howto.xml?rev=1.63&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/home-router-howto.xml?r1=1.62&r2=1.63

Index: home-router-howto.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- home-router-howto.xml	19 Aug 2008 14:15:59 -0000	1.62
+++ home-router-howto.xml	18 Sep 2009 08:36:43 -0000	1.63
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.62 2008/08/19 14:15:59 vapier Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.63 2009/09/18 08:36:43 nightmorph Exp $ -->
 
 <guide link="/doc/en/home-router-howto.xml" lang="en">
 <title>Home Router Guide</title>
@@ -17,8 +17,8 @@
 <!-- The content of this document is released into the public domain -->
 <license/>
 
-<version>1.39</version>
-<date>2008-08-19</date>
+<version>1.40</version>
+<date>2009-09-18</date>
 
 <chapter>
 <title>Introduction</title>
@@ -440,15 +440,15 @@
 <comment>Then we lock our services so they only work from the LAN</comment>
 # <i>iptables -I INPUT 1 -i ${LAN} -j ACCEPT</i>
 # <i>iptables -I INPUT 1 -i lo -j ACCEPT</i>
-# <i>iptables -A INPUT -p UDP --dport bootps -i ! ${LAN} -j REJECT</i>
-# <i>iptables -A INPUT -p UDP --dport domain -i ! ${LAN} -j REJECT</i>
+# <i>iptables -A INPUT -p UDP --dport bootps ! -i ${LAN} -j REJECT</i>
+# <i>iptables -A INPUT -p UDP --dport domain ! -i ${LAN} -j REJECT</i>
 
 <comment>(Optional) Allow access to our ssh server from the WAN</comment>
 # <i>iptables -A INPUT -p TCP --dport ssh -i ${WAN} -j ACCEPT</i>
 
 <comment>Drop TCP / UDP packets to privileged ports</comment>
-# <i>iptables -A INPUT -p TCP -i ! ${LAN} -d 0/0 --dport 0:1023 -j DROP</i>
-# <i>iptables -A INPUT -p UDP -i ! ${LAN} -d 0/0 --dport 0:1023 -j DROP</i>
+# <i>iptables -A INPUT -p TCP ! -i ${LAN} -d 0/0 --dport 0:1023 -j DROP</i>
+# <i>iptables -A INPUT -p UDP ! -i ${LAN} -d 0/0 --dport 0:1023 -j DROP</i>
 
 <comment>Finally we add the rules for NAT</comment>
 # <i>iptables -I FORWARD -i ${LAN} -d 192.168.0.0/255.255.0.0 -j DROP</i>
@@ -814,7 +814,7 @@
 # <i>emerge netqmail</i>
 <comment>make sure the output of `hostname` is correct</comment>
 # <i>emerge --config netqmail</i>
-# <i>iptables -I INPUT -p tcp --dport smtp -i ! ${LAN} -j REJECT</i>
+# <i>iptables -I INPUT -p tcp --dport smtp ! -i ${LAN} -j REJECT</i>
 # <i>ln -s /var/qmail/supervise/qmail-send /service/qmail-send</i>
 # <i>ln -s /var/qmail/supervise/qmail-smtpd /service/qmail-smtpd</i>
 # <i>cd /etc/tcprules.d</i>





Navigation:
Lists: gentoo-doc-cvs: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo commit in xml/htdocs/doc/en: java.xml
Next by thread:
gentoo commit in xml/htdocs/doc/en/handbook: handbook-amd64.xml handbook-x86.xml hb-install-stage.xml hb-install-system.xml hb-install-x86+amd64-kernel.xml hb-install-x86+amd64-medium.xml
Previous by date:
gentoo commit in xml/htdocs/doc/en: java.xml
Next by date:
gentoo commit in xml/htdocs/doc/en/handbook: hb-install-x86+amd64-bootloader.xml


Updated Jun 30, 2012

Summary: Archive of the gentoo-doc-cvs mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.