Linux7里iptables保存问题、求助

叮咚LXJ 2016-11-06 11:36:02

但是系统提示:
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
怎样才能保存呢,重启后也好用之前设定的规则
...全文
716 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
cqyy725 2016-12-19
  • 打赏
  • 举报
回复
7应该是firewalld 了吧···。比 iptables好用太多
大V小伙伴 2016-12-06
  • 打赏
  • 举报
回复
默认没有了iptables,默认是firewall,要使用iptables,必须的yum install iptables
nswcfd 2016-11-14
  • 打赏
  • 举报
回复
直接用/etc/init.d/iptable脚本去调用save吧。
lintengfeidemaozi 2016-11-12
  • 打赏
  • 举报
回复
在el7当中真的很难相信service这条指令。请用systemctl
  • 打赏
  • 举报
回复
http://man.linuxde.net/iptables-save
叮咚LXJ 2016-11-06
  • 打赏
  • 举报
回复
给自己顶一个

19,613

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧