Iptables: Difference between revisions
From DWIKI
No edit summary |
m →HOWTO Tag: wikieditor |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
The iptables package also includes ip6tables. ip6tables is used for configuring the IPv6 packet filter. | The iptables package also includes ip6tables. ip6tables is used for configuring the IPv6 packet filter. | ||
==Documentation== | |||
*[http://wiki.linuxquestions.org/wiki/Iptables iptables wiki] | |||
*[http://borg.uu3.net/iptables/iptables-intro.html iptables intro] | |||
== Tutorials == | == Tutorials == | ||
* [ | * [[Load Balancing Across Multiple Links]] | ||
== Tools == | == Tools == | ||
[http://www.fwbuilder.org/ http://www.fwbuilder.org/] | [http://www.fwbuilder.org/ http://www.fwbuilder.org/] | ||
iptstate | |||
*[https://firehol.org/ Firehol] | |||
=HOWTO= | |||
==List chains== | |||
iptables -L | |||
==Rules with comment== | |||
iptables -I INPUT .... -m comment --comment="some comment" | |||
== FAQ == | |||
=== How to stop iptables log from flooding console? === | |||
-stop syslog | |||
-dmesg -n 1 | |||
-start syslog | |||
?? | |||
| |||
=== can't initialize iptables table `filter': iptables who? (do you need to insmod?) === | |||
?? | |||
=== Couldn't load target `LOG':No such file or directory === | |||
Means kernel module not loaded | |||
[[Category:Networking]] | |||
==Log with label== | |||
-j LOG --log-prefix="FOO" | |||
Latest revision as of 12:54, 7 August 2025
Description
iptables is the userspace command line program used to configure the Linux 2.4.x and 2.6.x IPv4 packet filtering ruleset. It is targeted towards system administrators.
Since Network Address Translation is also configured from the packet filter ruleset, iptables is used for this, too.
The iptables package also includes ip6tables. ip6tables is used for configuring the IPv6 packet filter.
Documentation
Tutorials
Tools
http://www.fwbuilder.org/ iptstate
HOWTO
List chains
iptables -L
Rules with comment
iptables -I INPUT .... -m comment --comment="some comment"
FAQ
How to stop iptables log from flooding console?
-stop syslog -dmesg -n 1 -start syslog
??
can't initialize iptables table `filter': iptables who? (do you need to insmod?)
??
Couldn't load target `LOG':No such file or directory
Means kernel module not loaded
Log with label
-j LOG --log-prefix="FOO"
