Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux Reference Guide
Prev Home Next

10.2.4 Netfilter Kommandos

Die grundlegenden Kommandos von iptables sind:

     iptables -N Kette        # erzeuge eine Kette
     
     iptables -A Kette \      # f�ge Regel zur Kette hinzu
      -t Tabelle \            # verwende Tabelle (filter, nat, mangle)
      -p Protokoll \          # tcp, udp, icmp oder all
      -s Quelladresse[/Maske] \
      --sport Port[:Port] \   # Quellport, falls -p tcp oder udp ist
      -d Zieladresse[/Maske] \
      --dport Port[:Port] \   # Zielport, falls -p tcp oder udp ist
      -j Ziel \               # was tun, wenn es passt
      -i in-interface-name \  # f�r INPUT,  FORWARD, PREROUTING
      -o out-interface-name   # f�r FORWARD, OUTPUT, POSTROUTING

Debian GNU/Linux Reference Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire