Difference between pages "Package:IBus Table" and "Package:Iptables"

(Difference between pages)
 
 
Line 1: Line 1:
 
{{Ebuild
 
{{Ebuild
|Summary=The Table Engine for IBus Framework
+
|Summary=Linux kernel (2.4+) firewall, NAT and packet mangling tools
|CatPkg=app-i18n/ibus-table
+
|CatPkg=net-firewall/iptables
|Maintainer=Janzhou,
+
|Maintainer=
|Repository=Funtoo Overlay
+
|Homepage= http://www.netfilter.org/projects/iptables/
 
}}
 
}}
 +
'''iptables''' is a program used to configure and manage the kernels netfilter modules.
 +
== Installation ==
 +
=== Emerge ===
 +
<console>
 +
###i## emerge iptables
 +
</console>
  
{{PageNeedsUpdates}}
+
=== First Run ===
 +
For some services such as [[Package:Sshguard | sshguard]] & [[Package:fail2ban | Fail2ban]] you need a generic running firewall.  We will save a blank firewall rule set and start the firewall.
  
 +
==== ipv4 ====
 +
<console>
 +
###i## rc-service iptables save
 +
###i## rc-service iptables start
 +
</console>
 +
to start upon reboot
 +
<console>
 +
###i## rc-update add iptables default
 +
</console>
 +
 +
==== ipv6 ====
 +
<console>
 +
###i## rc-service ip6tables save
 +
###i## rc-service ip6tables start
 +
</console>
 +
 +
To make the service start upon system reboot, run:
 +
<console>
 +
###i## rc-update add ip6tables default
 +
</console>
 +
 +
== Show firewall Rules & Status ==
 +
===ipv4===
 +
<console>
 +
###i## iptables -L -n
 +
</console>
 +
 +
===ipv6===
 +
<console>
 +
###i## ip6tables -L -n
 +
</console>
 +
 +
[[Category:Security]]
 +
[[Category:Server]]
 
{{EbuildFooter}}
 
{{EbuildFooter}}

Revision as of 19:20, September 12, 2014

net-firewall/iptables


Source Repository:Gentoo Portage Tree
Homepage

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



Iptables


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