iptables.service not found
Tofloor
poster avatar
zhengxiaochuang
deepin
2017-09-08 19:23
Author

不能用service iptables start/stop/status命令吗?
Reply Favorite View the author
All Replies
avatar
rdlg
deepin
2017-09-09 00:42
#1
你要实现什么功能,iptables现在相当于是内核netfilter模块的一个前端程序,不是一个服务,直接用就可以了
Reply View the author
avatar
zhengxiaochuang
deepin
2017-09-09 21:43
#2
https://bbs.deepin.org/post/145213
你要实现什么功能,iptables现在相当于是内核netfilter模块的一个前端程序,不是一个服务,直接用就可以了 ...

我只想关闭/开启/查看防火墙状态。
Reply View the author
avatar
rdlg
deepin
2017-09-11 19:26
#3
https://bbs.deepin.org/post/145213
我只想关闭/开启/查看防火墙状态。

用的什么防火墙,如果是ufw,直接sudo ufw status就可以看。
ufw本身也是iptable的一个前端,如果你想看iptable规则怎么实现的,可以sudo iptable -L
Reply View the author
avatar
zhengxiaochuang
deepin
2017-09-12 16:48
#4
https://bbs.deepin.org/post/145213
用的什么防火墙,如果是ufw,直接sudo ufw status就可以看。
ufw本身也是iptable的一个前端,如果你想看i ...

感谢大神指导
Reply View the author