Skip to content

Tanjirou13r/centos7-iptables-setting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Centos7でのiptables設定

firewalldを停止

$ systemctl stop firewalld
$ systemctl disable firewalld
$ systemctl status firewalld

iptablesのインストール

$ yum -y install iptables-services

iptablesの起動と自動起動の設定

$ systemctl start iptables
$ systemctl enable iptables
$ systemctl status iptables

iptablesの設定

$ git clone https://github.com/TanakashiXr/centos7-iptables-setting.git
$ mv -f centos7-iptables-setting/iptables /etc/sysconfig/iptables
$ rm -rf centos7-iptables-setting
$ iptables -L

About

How to build iptables with Centos7.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published