/[gentoo]/xml/htdocs/doc/en/home-router-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/home-router-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.31 Revision 1.32
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.31 2005/08/17 22:42:01 vapier Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.32 2005/09/06 03:03:19 vapier Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/home-router-howto.xml"> 5<guide link="/doc/en/home-router-howto.xml">
6 6
7<title>Home Router Guide</title> 7<title>Home Router Guide</title>
13<abstract> 13<abstract>
14This document details how to turn an old Gentoo machine into a router 14This document details how to turn an old Gentoo machine into a router
15for connecting your home network to the internet. 15for connecting your home network to the internet.
16</abstract> 16</abstract>
17 17
18<version>1.11</version> 18<version>1.12</version>
19<date>2005-08-17</date> 19<date>2005-09-05</date>
20 20
21<chapter> 21<chapter>
22<title>Introduction</title> 22<title>Introduction</title>
23<section> 23<section>
24<body> 24<body>
410 410
411<pre caption="Setting up iptables"> 411<pre caption="Setting up iptables">
412<comment>First we flush our current rules</comment> 412<comment>First we flush our current rules</comment>
413# <i>iptables -F</i> 413# <i>iptables -F</i>
414# <i>iptables -t nat -F</i> 414# <i>iptables -t nat -F</i>
415
416<comment>Setup default policies to handle not matched by any rules</comment>
417# <i>iptables -P INPUT ACCEPT</i>
418# <i>iptables -P OUTPUT ACCEPT</i>
419# <i>iptables -P FORWARD DROP</i>
415 420
416<comment>Copy and paste these examples ...</comment> 421<comment>Copy and paste these examples ...</comment>
417# <i>export LAN=eth0</i> 422# <i>export LAN=eth0</i>
418# <i>export WAN=eth1</i> 423# <i>export WAN=eth1</i>
419 424

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.20