- 论坛徽章:
- 0
|
默认安装fedora的apache除了80还开了一个443的https,如何关掉?我在setup里面的service没找到,如何关掉?用chkconfig也没找到。
我的iptables里面的规则是
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT ipv6-crypt-- anywhere anywhere
ACCEPT ipv6-auth-- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
我想删掉那条关于https的,用以下命令
$ iptables -D INPUT --dport 443 -j DROP
结果老是这样
iptables v1.2.9: Unknown arg `--dport'
Try `iptables -h' or 'iptables --help' for more information.的结果,不知道该怎么办。
如果把--dport变成-dport就说Bad argument `443'
Try `iptables -h' or 'iptables --help' for more information.
大家帮我解释一下好吗? |
|