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
Basic usage of Linux firewall iptables is a common firewall software in Linux, which is usually integrated in VPS systems by default. 1. install iptables firewall www.2cto.com. if iptables is not installed, install iptables first. run CentOS:
Point I entered the original
Introduction to the Iptables command
Original link
The iptables firewall can be used to create filtering (filter) and NAT rules. All Linux distributions can use Iptables, so understanding how to configure Iptables will
The company's products have been running on the cloud server, so fortunate to have contacted AWS's EC2, the Grand Cloud server, recently prepared to use Aliyun elastic calculations (cloud server). The first two cloud servers in the security policy
Ubuntu iptables Configuration:1, Ubuntu default is installed Iptables, can be confirmed by dpkg-l or which iptables2, Ubuntu default does not have iptables configuration file, need to be generated through Iptables-save
Basic usage of Linux Firewall iptables is a common firewall software in Linux, which is usually integrated in VPS systems by default. 1. install iptables firewall www.2cto.com. If iptables is not installed, run CentOS: yum install
/Etc/init. d/iptablesrestart # Restart the firewall to make the change take effect. of course, you can restart the system (Command: reboot)/etc/rc if you do not feel any trouble. d/init. d/iptablessave # save the changes. in actual applications, it
Since the 2.4 version of the Linux kernel, a very good firewall tool has been provided. This tool can divide, filter, forward, and so on the network data of the Access service, and then realize the functions such as firewall, Nat and so on.In
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.