注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 可扩展、高可用、负载均衡..
 帮助

日记 [2008年03月24日]LINUX网关后面的pptp vpn客户机连接vpn续  


2008-03-24 12:35:22
 标签:LINUX pptp 连接vpn   [推送到技术圈]

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://coolerfeng.blog.51cto.com/133059/76111
周末试图在2.6.9的内核上打path,也不知道怎末打,干脆编译一个新内核吧
www.kernel.org上下载一个新内核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了

本文出自 “风吹云动” 博客,请务必保留此出处http://coolerfeng.blog.51cto.com/133059/76111





    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: