【求助】-p 47代表什麼??



贊助商連結


moonseaivan
2002-10-28, 01:52 PM
請問這行指令中的47代表什麼呢?
iptables -t nat -A PREROUTING -i eth0 -p 47 -j NAT --to x.x.x.x
以上這行是防火牆上要forwarding PPTP to RRAS server 的一行指令,47是代表什麼呢???

贊助商連結


cedric2000
2002-10-29, 11:01 AM
在iptables的man page裡面
提到-p 是指protocol
對應到/etc/protocols中的47

應該是這個吧.........我想

gre 47 GRE #Generic Routing Encapsulation

moonseaivan
2002-10-29, 11:26 AM
最初由 cedric2000 發表
在iptables的man page裡面
提到-p 是指protocol
對應到/etc/protocols中的47

應該是這個吧.........我想

gre 47 GRE #Generic Routing Encapsulation
---------------------------------------------------------

太好了,真的是謝謝您了~!! 我想應該是了~!!!
^_^!:circle: