/[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.13 Revision 1.14
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.13 2004/08/09 03:46:29 vapier Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.14 2004/08/11 19:18: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>
427# <i>for f in /proc/sys/net/ipv4/conf/*/rp_filter ; do echo 1 > $f ; done</i> 427# <i>for f in /proc/sys/net/ipv4/conf/*/rp_filter ; do echo 1 > $f ; done</i>
428 428
429<comment>This is so when we boot we don't have to run the rules by hand</comment> 429<comment>This is so when we boot we don't have to run the rules by hand</comment>
430# <i>/etc/init.d/iptables save</i> 430# <i>/etc/init.d/iptables save</i>
431# <i>rc-update add iptables default</i> 431# <i>rc-update add iptables default</i>
432# <i>nano /etc/sysctl.conf</i>
433<comment>Add/Uncomment the following lines:
434net.ipv4.ip_forward = 1
435net.ipv4.conf.default.rp_filter = 1</comment>
432</pre> 436</pre>
433 437
434<p> 438<p>
435Once you've typed out all of that, the rest of your network should now 439Once you've typed out all of that, the rest of your network should now
436be able to use the internet as if they were directly connected 440be able to use the internet as if they were directly connected

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20