作者a2350 (a2350)
看板FreeBSD
标题Re: [问题] ipv6跟firewall
时间Sat Nov 21 00:18:59 2009
※ 引述《jogylove (洋洋)》之铭言:
: 不好意思,想请问一下板上的各位。
: 由於小弟打工的地方丢了一台dns给我维护。
: 但是目前需要设定ipv6的部份遇到一点困难,想上来请问一下解决的办法。
: 主要的问题是由於本身防火墙的设定,会让ping6这个指令ping不出去吗?
: 因为就目前来说在小弟设定好ipv6的位置之後
: 使用ping的指令依然可以ping的到IPV4的部份。
: 可是使用ping6的指令时会发生(premission denied),本以为是设定错误。
: 但是试着重灌一台freebsd就又没这个问题。
: 所以想请问一下是firewall的设定问题吗?
: 下面是我firewall的设定方式
: ------------------------ipfw.conf----------------
: IPF="ipfw -q add"
: ipfw -q -f flush
: $IPF 10 allow all from any to any
: $ipf 200 allow icmp from any to any icmptypes 3,4
: $ipf 201 allow icmp from any to any icmptypes 8 out
: $ipf 202 allow icmp from any to any icmptypes 0,11 in
: ----------------------------------------------------
: 或许是很基础的问题啦!也请各位大大可以给点建议。谢谢
你问的问题很难,懂的人不多。
打工要用这麽先进的啊,政府单位吗?
ipv6 的 icmptype 是 icmp6types
icmp6types types
Matches ICMP6 packets whose ICMP6 type is in the list of types.
The list may be specified as any combination of individual types
(numeric) separated by commas. Ranges are not allowed.
是不是防火墙造成的很容易查,把防火墙关掉通不通就知道了
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.38.110.227