/[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.49 Revision 1.50
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.49 2006/08/21 10:21:57 vapier Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.50 2006/08/21 10:47:36 vapier Exp $ -->
4 4
5<guide link="/doc/en/home-router-howto.xml" lang="en"> 5<guide link="/doc/en/home-router-howto.xml" lang="en">
6<title>Home Router Guide</title> 6<title>Home Router Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
15</abstract> 15</abstract>
16 16
17<!-- The content of this document is released into the public domain --> 17<!-- The content of this document is released into the public domain -->
18<license/> 18<license/>
19 19
20<version>1.30</version> 20<version>1.31</version>
21<date>2006-08-12</date> 21<date>2006-08-21</date>
22 22
23<chapter> 23<chapter>
24<title>Introduction</title> 24<title>Introduction</title>
25<section> 25<section>
26<body> 26<body>
442 442
443<comment>This is so when we boot we don't have to run the rules by hand</comment> 443<comment>This is so when we boot we don't have to run the rules by hand</comment>
444# <i>/etc/init.d/iptables save</i> 444# <i>/etc/init.d/iptables save</i>
445# <i>rc-update add iptables default</i> 445# <i>rc-update add iptables default</i>
446# <i>nano /etc/sysctl.conf</i> 446# <i>nano /etc/sysctl.conf</i>
447<comment>Add/Uncomment the following lines: 447<comment>Add/Uncomment the following lines:</comment>
448net.ipv4.ip_forward = 1 448net.ipv4.ip_forward = 1
449net.ipv4.conf.default.rp_filter = 1</comment> 449net.ipv4.conf.default.rp_filter = 1
450
451<comment>If you have a dynamic internet address you probably want to enable this:</comment>
452net.ipv4.ip_dynaddr = 1
450</pre> 453</pre>
451 454
452<p> 455<p>
453Once you've typed out all of that, the rest of your network should now be able 456Once you've typed out all of that, the rest of your network should now be able
454to use the internet as if they were directly connected themselves. 457to use the internet as if they were directly connected themselves.
458</p>
459
460<p>
461The ip_dynaddr option is useful for dial on demand systems or when your ISP
462gives out dynamic addresses. This works around the problem where a connection
463is attempted before the internet interface is fully setup. Really this just
464provides for a smoother network experience for users behind your router.
455</p> 465</p>
456 466
457</body> 467</body>
458</section> 468</section>
459</chapter> 469</chapter>

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

  ViewVC Help
Powered by ViewVC 1.1.20