Difference between revisions of "Package:Iptables"

Line 46: Line 46:
 
###i## ip6tables -L -n
 
###i## ip6tables -L -n
 
</console>
 
</console>
 
 
{{EbuildFooter}}
 
{{EbuildFooter}}

Revision as of 19:24, September 12, 2014

net-firewall/iptables


Source Repository:Repository:Gentoo Portage Tree

http://www.netfilter.org/projects/iptables/

Summary: Linux kernel (2.4+) firewall, NAT and packet mangling tools

Use Flags

netlink
Build against libnfnetlink which enables the nfnl_osf util

News

Drobbins

Perl Updates

Gentoo has bumped perl from 5.20 to 5.22. Be sure to run perl-cleaner --all after the upgrade.
2015-07-25 by Drobbins
Drobbins

ARM Rebuild

ARM systems will use new stage3's that are not compatible with earlier versions.
2015-06-27 by Drobbins
Drobbins

ABI X86 64 and 32

Funtoo Linux has new 32-bit compatibility libraries inherited from Gentoo. Learn about them here.
2015-06-18 by Drobbins
More...

Iptables

Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

iptables is a program used to configure and manage the kernels netfilter modules.

Installation

Emerge

# emerge iptables

First Run

For some services such as sshguard & Fail2ban you need a generic running firewall. We will save a blank firewall rule set and start the firewall.

ipv4

# rc-service iptables save
# rc-service iptables start

to start upon reboot

# rc-update add iptables default

ipv6

# rc-service ip6tables save
# rc-service ip6tables start

To make the service start upon system reboot, run:

# rc-update add ip6tables default

Show firewall Rules & Status

ipv4

# iptables -L -n

ipv6

# ip6tables -L -n