周末试图在2.6.9的内核上打path,也不知道怎末打,干脆编译一个新内核吧
[url]www.kernel.org[/url]上下载一个新内核2.6.24的包
编译的时候选上pptp的选项
记得要选iptables里面的东西否则运行iptables会出下面的提示
iptables v1.3.8: can't initialize iptables table
`filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
 
make menuconfig
按顺序
networking
networking options
network packet filtering framework (Netfilter)
Core Netfilter Configuration
选中Netfilter connection tracking support
Exit
IP:Netfilter Configuration
选中Ipv4 connection tracking support(requited for NAT)
选中Full NAT
Exit
最后保存
然后编译
make
重启后挂载2个模块
modprobe nf_nat_pptp
modprobe nf_nat_proto_gre
然后再测试。ok了