/[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.11 Revision 1.12
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.11 2004/08/08 05:02:16 vapier Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/home-router-howto.xml,v 1.12 2004/08/08 20:46:42 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>
409 409
410<comment>Then we lock our services so they only work from the LAN</comment> 410<comment>Then we lock our services so they only work from the LAN</comment>
411# <i>iptables -I INPUT 1 -i eth0 -j ACCEPT</i> 411# <i>iptables -I INPUT 1 -i eth0 -j ACCEPT</i>
412# <i>iptables -I INPUT 1 -i lo -j ACCEPT</i> 412# <i>iptables -I INPUT 1 -i lo -j ACCEPT</i>
413# <i>iptables -A INPUT -p UDP --dport bootps -i ! eth0 -j REJECT</i> 413# <i>iptables -A INPUT -p UDP --dport bootps -i ! eth0 -j REJECT</i>
414# <i>iptables -A INPUT -p UDP --dport dns -i ! eth0 -j REJECT</i> 414# <i>iptables -A INPUT -p UDP --dport domain -i ! eth0 -j REJECT</i>
415 415
416<comment>Drop TCP / UDP packets to privileged ports</comment> 416<comment>Drop TCP / UDP packets to privileged ports</comment>
417# <i>iptables -A INPUT -p TCP -i ! eth0 -d 0/0 --dport 0:1023 -j DROP</i> 417# <i>iptables -A INPUT -p TCP -i ! eth0 -d 0/0 --dport 0:1023 -j DROP</i>
418# <i>iptables -A INPUT -p UDP -i ! eth0 -d 0/0 --dport 0:1023 -j DROP</i> 418# <i>iptables -A INPUT -p UDP -i ! eth0 -d 0/0 --dport 0:1023 -j DROP</i>
419 419

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20