repoquery iptables-services
iptables-services-0:1.4.21-35.el7.x86_64
iptables-services-0:1.4.21-35.el7.x86_64
rpm -qa | grep iptables
iptables-1.4.21-33.el7.x86_64
iptables-1.4.21-33.el7.x86_64
https://kerneltalks.com/virtualization/how-to-reset-iptables-to-default-settings
https://upcloud.com/community/tutorials/configure-iptables-centos/
https://forums.centos.org/viewtopic.php?t=68917
So, the structure is:
iptables -> Tables -> Chains -> Rules.
IPTABLES
- Tables
- Chains
- Rules
sudo yum install iptables-services
Once installed, start and enable the service.
Once installed, start and enable the service.
sudo systemctl start iptables
sudo systemctl enable iptables
Afterwards, you can simply save the current rules using the following command.
sudo systemctl enable iptables
Afterwards, you can simply save the current rules using the following command.
sudo service iptables save
/etc/sysconfig/iptables
[ec2-user@ip-10-79-197-70 sysconfig]$ sudo ls | grep ip
ip6tables
ip6tables-config
iptables
iptables-config
network-scripts
ip6tables
ip6tables-config
iptables
iptables-config
network-scripts
No comments:
Post a Comment