suse linux 10 下配置vpn服务器(pptp)
作者: 出处:网络整理 更新时间:2007-09-24 责任编辑:
 
 

2、/etc/ppp/ options.ppp0配置如下:

#
# Lock the port
#
lock

#
# We don't need the tunnel server to authenticate itself
#
noauth

#
# Turn off transmission protocols we know won't be used
#
nobsdcomp
nodeflate

#
# We want MPPE
#
mppe-40
mppe-128
mppe-stateless

#
# We want a sane mtu/mru
#
mtu 1000
mru 1000

#
# Time this thing out of it goes poof
#
lcp-echo-failure 10
lcp-echo-interval 10

3、/etc/ppp/chap- secrets配置如下:

# Secrets for authentication using CHAP
# client server secret IP addresses

# OUTBOUND CONNECTIONS
# Here you should add your PPP Login and PPP password to connect to your
# provider via pap. The * means that the entry(login and passoword may be
# used for ANY host you connect to.
# Thus you do not have to worry about the foreign machine name. Just
# replace password with your password.
#hostname * password

# PREDIFINED CONNECTIONS
# These are user and password entries for publically accessible call-by-call
# Internet providers in Germany. If they confict with your config, remove them.
# READ_IN_CALLBYCALL_SECRETS

# INBOUND CONNECTIONS
#client hostname 192.168.1.1
a * a *

//指定了vpn客户端连接时的用户名和密码为a/a,最后一个*意思是从/etc/pptpd.conf中指定的ip范围中随机分配一个IP。

 
     
 
 
后退<<上一页 继续>>SuSE
[上一页][第1页][第2页][第3页][下一页]
 
内容导航  
第1页suse linux 10 下配置.. 第2页suse linux 10 下配置..
第3页SuSE
上一篇 : PHPCMS 2007 各模块功能.. 下一篇Linux发行版知识:关于o..
 
  您要为所发表的言论的后果负责,请各位遵纪守法并注意文明用语
标题:  

[ 关于本站 ] [ 广告服务 ] [ 商务合作 ] [ 联系我们 ] [ 合作伙伴 ] [ 法律顾问 ] [ 网站地图 ]
千橡公司 京ICP证041489号 Copyright (c) 1997-2007 All Right Reserved.