[分享]ubuntu中文网 VPN , 用pptpconfig连接~~

上网、浏览、聊天、下载等
头像
oneleaf
论坛管理员
帖子: 10454
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#16

帖子 oneleaf » 2008-03-06 17:39

我写了一个可以正常工作的指南:

http://wiki.ubuntu.org.cn/%E5%A6%82%E4% ... 8UbuntuVPN
copdips
帖子: 58
注册时间: 2006-03-19 21:43

#17

帖子 copdips » 2008-03-06 17:58

yaoms 写了:4楼的方法虽然简单,但是。。
$ sudo vpnc ubuntucn
vpnc: no response from target

这是怎么回事?
这个...
得确定ip地址. 和组名, 和密码都对,
应该是现验证这个的, 然后才会跳出输入用户密码的(不是sudo的那个密码)文字
copdips
帖子: 58
注册时间: 2006-03-19 21:43

#18

帖子 copdips » 2008-03-06 18:03

yaoms 写了:4楼的方法虽然简单,但是。。
$ sudo vpnc ubuntucn
vpnc: no response from target

这是怎么回事?
不好意思, 是我没看清,
我写的那个是连cisco vpn的, 不是连用windows建的vpn, windows是没有vpn group东西好像
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#19

帖子 BigSnake.NET » 2008-03-06 19:53

代码: 全选

$ cat /etc/ppp/options.pptp
###############################################################################
# $Id: options.pptp,v 1.1 2005/02/18 01:40:23 quozl Exp $
#
# Sample PPTP PPP options file /etc/ppp/options.pptp
# Options used by PPP when a connection is made by a PPTP client.
# This file can be referred to by an /etc/ppp/peers file for the tunnel.
# Changes are effective on the next connection.  See "man pppd".
#
# You are expected to change this file to suit your system.  As
# packaged, it requires PPP 2.4.2 or later from http://ppp.samba.org/
# and the kernel MPPE module available from the CVS repository also on
# http://ppp.samba.org/, which is packaged for DKMS as kernel_ppp_mppe.
###############################################################################

# Lock the port
lock

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

# We won't do EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
refuse-eap
refuse-chap
refuse-mschap

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

# Encryption
# (There have been multiple versions of PPP with encryption support,
# choose with of the following sections you will use.  Note that MPPE
# requires the use of MSCHAP-V2 during authentication)

# http://ppp.samba.org/ the PPP project version of PPP by Paul Mackarras
# ppp-2.4.2 or later with MPPE only, kernel module ppp_mppe.o
# {{{
# Require MPPE 128-bit encryption
require-mppe-128
# }}}

# http://polbox.com/h/hs001/ fork from PPP project by Jan Dubiec
# ppp-2.4.2 or later with MPPE and MPPC, kernel module ppp_mppe_mppc.o
# {{{
# Require MPPE 128-bit encryption
#mppe required,stateless
# }}}

代码: 全选

$ sudo cat /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client        server  secret                  IP addresses

"ubuntu"        PPTP    "ubuntuvpn"     *

代码: 全选

$ cat /etc/ppp/peers/vpn-ubuntu
pty "pptp ubuntu.org.cn --nolaunchpppd"  
file /etc/ppp/options.pptp  
remotename PPTP  
persist
name ubuntu

代码: 全选

$ sudo pon vpn-ubuntu
图片
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#20

帖子 BigSnake.NET » 2008-03-06 19:54

不过只有我一个人 ....
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
1998a
帖子: 3
注册时间: 2008-11-10 14:08

Re: [分享]ubuntu中文网 VPN , 用pptpconfig连接~~

#21

帖子 1998a » 2008-11-10 14:23

ftp密码是多少
下载不了那个php-gtk-pcntl.deb
Martian911
帖子: 79
注册时间: 2009-05-28 11:28

Re: [分享]ubuntu中文网 VPN , 用pptpconfig连接~~

#22

帖子 Martian911 » 2010-04-23 22:21

上面的FTP已经不好用了,分享一个最新的包含所有deb包的下载地址:http://www.linux.org.au/~quozl/pptp/pptpconfig/.而且有些包已经没有9.10(Karmic)版本的包了,所以用9.10的源是搜不到一些需要的deb包的。在/etc/apt/sources.list里面添加 deb http://mirror.lupaworld.com/ubuntu dapper main 即可安装之前版本的包
上次由 Martian911 在 2010-04-23 22:40,总共编辑 1 次。
个位数价格米国高速VPN什么的最便宜了。cheapvpn@outlook.com
http://akari.li
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

Re:

#23

帖子 hcym » 2010-04-23 22:26

oneleaf 写了:我写了一个可以正常工作的指南:

http://wiki.ubuntu.org.cn/%E5%A6%82%E4% ... 8UbuntuVPN
就这招,系统原配

通杀

:em04
回复