Difference between revisions of "Iptables"

From Teknologisk videncenter
Jump to: navigation, search
m (New page: iptables is a packet filtering, NAT/PAT and packet mangling tool for Linux. Used by a variety of Linux distributions including Ubuntu, Redhat and CentOS. Iptables is highly configurabl...)
 
m (Using IPTABLES)
Line 6: Line 6:
 
*input  : Packets from a Interface to a local process on the machine. A packet from outside to the machine.
 
*input  : Packets from a Interface to a local process on the machine. A packet from outside to the machine.
 
*output : Packets from a local process - the machine itself - to the outside world.
 
*output : Packets from a local process - the machine itself - to the outside world.
[[Image:Iptables chains.png|300px|thumb|none|iptables flowchart showing chains]]
+
[[Image:Iptables chains.png|300px|thumb|left|iptables flowchart showing chains]]

Revision as of 15:21, 7 March 2009

iptables is a packet filtering, NAT/PAT and packet mangling tool for Linux. Used by a variety of Linux distributions including Ubuntu, Redhat and CentOS. Iptables is highly configurable and are used in many firewall solutions.

Using IPTABLES

Iptables is a commandline command with numerous options, and need some training to master. Basically iptables has three chain.s

  • forward: Packets traversing from one Interface to another Interface
  • input  : Packets from a Interface to a local process on the machine. A packet from outside to the machine.
  • output : Packets from a local process - the machine itself - to the outside world.
iptables flowchart showing chains