Iptables

(Redirected from Iptables)

net-firewall/iptables


Source Repository:No results
http://www.netfilter.org/projects/iptables/

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

Use Flags

conntrack
Build against net-libs/libnetfilter_conntrack when enables the connlabel matcher
netlink
Build against libnfnetlink which enables the nfnl_osf util
nftables
Support nftables kernel interface
pcap
Build against net-libs/libpcap which enables the nfbpf_compile util

News

Oleg

Gnome-3.20 Update

Gnome-3.20 Update
2016-08-17 by Oleg
Oleg

Baselayout minor Update

Baselayout Minor Update
2016-08-03 by Oleg
Oleg

Locale and gdk-pixbuf update

Locale and gdk-pixbuf update
2016-07-13 by Oleg
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

Kernel Settings

Under Netfilter--> set to all modules--> or all y--> prefer modules.:

-> Networking support
     -> Networking options     
       -> Network packet filtering framework (Netfilter)

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