4 Star 1 Fork 0

Gitee 极速下载 / python-firewall

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/netkiller/firewall
克隆/下载
install.sh 520 Bytes
一键复制 编辑 原始数据 按行查看 历史
Neo Chan 提交于 2021-04-21 11:18 . fixed centos 8 bug
rm -rf /srv/firewall/
dnf remove -y firewalld
dnf install -y iptables
pip3 install netkiller-firewall
install -dv /srv/firewall/{sbin,libexec}
install -D -m 0700 -o root sbin/firewall /srv/firewall/sbin/
install -D -m 0700 -o root libexec/*.py /srv/firewall/libexec/
# install -D -m 0700 -o root init.d/firewall /etc/init.d/
install -D -m 0700 -o root systemd/firewall.service /usr/lib/systemd/system/
install -D -m 0700 -o root systemd/firewall /etc/sysconfig/
systemctl enable firewall
systemctl start firewall
1
https://gitee.com/mirrors/python-firewall.git
git@gitee.com:mirrors/python-firewall.git
mirrors
python-firewall
python-firewall
master

搜索帮助