分页: 1 / 1

如何打开服务,例如iptables

发表于 : 2005-12-01 22:13
yang119345
:o fc下只要

service iptables restart
就好了。 :shock: 不知道ubuntu如何打开?????求助 :oops:

发表于 : 2005-12-01 23:29
oneleaf
推荐使用shorewall,这个是基于iptables的防火墙。主页有专门的介绍。

发表于 : 2005-12-05 15:29
yang119345
:lol: 好的非常感谢。

发表于 : 2005-12-05 15:32
eexpress
iptables restart 直接就可以吧。

发表于 : 2005-12-05 23:27
yang119345
eexpress 写了:iptables restart 直接就可以吧。

不行的

代码: 全选

Bad argument `restart'
Try `iptables -h' or 'iptables --help' for more information.

发表于 : 2005-12-06 0:19
laborer
iptables无所谓start或者stop了,它只是一个user-end的工具,它的功能都是在内核中的,只要内核还在,那过滤功能都是有效的。

fc我没用过,它的service iptables start应该是从文件中预设的规则,并将它们导入内核。ubuntu下可以很容易的用iptables-save/iptables-restore实现。