Install iptables Firewall
If you do not install iptables you need to install first, CentOS execution:
Yum Install Iptables
Debian/ubuntu Execution:
Apt-get Install Iptables
On the VPS on the week nine Iptables set to:
*nat:P rerouting ACCEPT [7
1. Show the status of the firewallRun the following command with root privileges:
# iptables-l-n-v
Parameter description:
-L: Lists the rules.
-V: Displays detailed information. This option displays the interface name,
How to save iptables rules under buntu and automatically load them upon startup:Saving iptables save settingsAfter the machine is restarted, the configuration information in iptables is cleared. You can save these configurations so that iptables is
Linux iptables firewall basic application tutorial, linuxiptables
Iptables is a common firewall software in Linux, the following describes how to install and clear iptables rules. iptables only supports the specified port. iptables shields basic
Buntu to save the iptables rule and load the boot automatically:
Saving iptables Save Settings
After the machine restarts, the configuration information in the iptables will be emptied. You can save these configurations and allow Iptables to load
1. install iptables firewall if iptables is not installed need to be installed first, CentOS execute: yuminstalliptablesDebian/Ubuntu execute: apt-getinstalliptables2, clear existing iptables rule iptables-Fiptables-Xiptables-Z3, open the specified
Ubuntu default installation is not open any firewall.When you use service iptables status , you are prompted to iptables:unrecoginzed service. This means that the service is not recognized.The following methods are from
Ubuntu under Iptables usage recordHere is a reference to the Baidu Encyclopedia and Ubuntu Forum Http://wiki.ubuntu.org.cn/UbuntuHelp:IptablesHowTo/zhHere is a reference to the blogger Just_young Big Wet article Http://blog.csdn.net/just_young1.
Linux iptables firewall basic application tutorial
Iptables is a common firewall software in Linux, the following describes how to install and clear iptables rules. iptables only supports the specified port. iptables shields basic applications of
First, about Iptables
Iptables is a command-line-based firewall tool that uses rule chains to allow/block network traffic. When a network connection attempts to build on your system, iptables finds its corresponding matching rule. If it is not
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.