日记 [2008年03月24日]LINUX网关后面的pptp vpn客户机连接vpn续
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://coolerfeng.blog.51cto.com/133059/76111 |
周末试图在2.6.9的内核上打path,也不知道怎末打,干脆编译一个新内核吧
编译的时候选上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了 本文出自 “风吹云动” 博客,请务必保留此出处http://coolerfeng.blog.51cto.com/133059/76111 本文出自 51CTO.COM技术博客 |



coolerfeng
博客统计信息
热门文章
最新评论
友情链接


