linux下安装PacketiX VPN 客户端
- Crazier
- 帖子: 1051
- 注册时间: 2007-09-23 17:06
- 联系:
Re: linux下安装PacketiX VPN 客户端
是个好东西啊,但是还有些问题,回头补充一下
-
- 帖子: 13
- 注册时间: 2008-10-14 10:09
Re: linux下安装PacketiX VPN 客户端
是这样吗?为什么总是失败?
sudo ./vpnclient start
PacketiX VPN Client Service is already started.
Execute "vpnclient stop" to stop this service.
pensos@Punbuntu:~/下载/vpnclient$ ./vpncmd
vpncmd command - PacketiX VPN Command Line Management Utility
PacketiX VPN Command Line Management Utility (vpncmd command)
Version 2.20 Build 5350 (English)
Compiled Oct 9 2007 01:27:53 by yagi at ILC308
Copyright (C) 2004-2007 SoftEther Corporation. All Rights Reserved.
By using vpncmd program, the following can be achieved.
1. Management of VPN Server or VPN Bridge
2. Management of VPN Clinet
3. Use of VPN Tools (certificate creation and communication speed measurement)
Select 1, 2 or 3: 2
Specify the host name or IP address of the computer that the destination VPN Client is operating on.
If nothing is input and Enter is pressed, connection will be made to localhost (this computer).
Input destination: localhost
Connected to VPN Client "localhost".
VPN Client>NicCreate
NicCreate command - Create New Virtual Network Adapter
Virtual Network Adapter Name: 0
Error occurred. (Error code: 31)
Installation of the Virtual Network Adapter device driver failed.
VPN Client>quit
sudo ./vpnclient start
PacketiX VPN Client Service is already started.
Execute "vpnclient stop" to stop this service.
pensos@Punbuntu:~/下载/vpnclient$ ./vpncmd
vpncmd command - PacketiX VPN Command Line Management Utility
PacketiX VPN Command Line Management Utility (vpncmd command)
Version 2.20 Build 5350 (English)
Compiled Oct 9 2007 01:27:53 by yagi at ILC308
Copyright (C) 2004-2007 SoftEther Corporation. All Rights Reserved.
By using vpncmd program, the following can be achieved.
1. Management of VPN Server or VPN Bridge
2. Management of VPN Clinet
3. Use of VPN Tools (certificate creation and communication speed measurement)
Select 1, 2 or 3: 2
Specify the host name or IP address of the computer that the destination VPN Client is operating on.
If nothing is input and Enter is pressed, connection will be made to localhost (this computer).
Input destination: localhost
Connected to VPN Client "localhost".
VPN Client>NicCreate
NicCreate command - Create New Virtual Network Adapter
Virtual Network Adapter Name: 0
Error occurred. (Error code: 31)
Installation of the Virtual Network Adapter device driver failed.
VPN Client>quit
-
- 帖子: 1
- 注册时间: 2011-07-09 13:27
Re: linux下安装PacketiX VPN 客户端
mark一下,照着做呢。想翻出去
- seedcm
- 帖子: 13
- 注册时间: 2009-07-02 16:00
Re: linux下安装PacketiX VPN 客户端
VPN Client>accountlist
AccountList command - Get List of VPN Connection Settings
Item |Value
----------------------------+-----------------------------------------------
VPN Connection Setting Name |Secure
Status |Connected
VPN Server Address |public.softether.com (Direct TCP/IP Connection)
Virtual Network Adapter Name|0
The command terminated normally.
VPN Client>niclist
NicList command - Get List of Virtual Network Adapters
Item |Value
----------------------------+-----------------------------------
Virtual Network Adapter Name|0
Status |Enabled
MAC Address |00AC4E25BDFD
Version |Version 2.20 Build 5350 (English)
The command terminated normally.
vpn_0 Link encap:以太网 硬件地址 00:ac:4e:25:bd:fd
inet6 地址: 2001:200:1c8:ff01:2ac:4eff:fe25:bdfd/64 Scope:Global
inet6 地址: fe80::2ac:4eff:fe25:bdfd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:24455 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:599 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:500
接收字节:2069879 (2.0 MB) 发送字节:50138 (50.1 KB)
已经链接,但是IP地址仍然没有改变!到底那里不对?
AccountList command - Get List of VPN Connection Settings
Item |Value
----------------------------+-----------------------------------------------
VPN Connection Setting Name |Secure
Status |Connected
VPN Server Address |public.softether.com (Direct TCP/IP Connection)
Virtual Network Adapter Name|0
The command terminated normally.
VPN Client>niclist
NicList command - Get List of Virtual Network Adapters
Item |Value
----------------------------+-----------------------------------
Virtual Network Adapter Name|0
Status |Enabled
MAC Address |00AC4E25BDFD
Version |Version 2.20 Build 5350 (English)
The command terminated normally.
vpn_0 Link encap:以太网 硬件地址 00:ac:4e:25:bd:fd
inet6 地址: 2001:200:1c8:ff01:2ac:4eff:fe25:bdfd/64 Scope:Global
inet6 地址: fe80::2ac:4eff:fe25:bdfd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:24455 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:599 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:500
接收字节:2069879 (2.0 MB) 发送字节:50138 (50.1 KB)
已经链接,但是IP地址仍然没有改变!到底那里不对?
- liangwilliam
- 帖子: 36
- 注册时间: 2008-07-27 11:16
- 来自: 廣州
Re: linux下安装PacketiX VPN 客户端
你的vpnclient启动了麽?以父之名 写了:已经root,仍然出现这种情况。代码: 全选
vpncmd 命令 - PacketiX VPN 命令行管理工具 PacketiX VPN 命令行管理工具 (vpncmd 命令) Version 3.02 Build 7392 (Simplified_Chinese) Compiled 2011/02/28 19:08:12 by yagi at pc25 Copyright (C) 2004-2011 SoftEther Corporation. All Rights Reserved. 通过使用 vpncmd 程序,可以取得以下成果。 1. 管理的 VPN Server 或 VPN Bridge 2. 管理 VPN Client 3. 使用 VPN 工具 (创建证书和通信速度测量) 选择 1, 2 或 3: 2 指定的主机名或正在运行的目标 VPN Client 计算机的 IP 地址。 如果不输入任何内容并且按下回车键,将连接到本地主机 (这台电脑)。 输入目标主机名或 IP 地址: loaclhost 发生错误。(错误代码: 1) 服务器连接失败。请检查网络连接,地址和端口是否正确。
-
- 帖子: 1
- 注册时间: 2011-11-26 15:51
Re: linux下安装PacketiX VPN 客户端
我也sudo了啊,怎么还是不行啊,如下,请帮帮忙啊it5u 写了:呵呵,你太强了,我咋就没想到sudo ./vpnclient呢,我说sudo ./vpncmd了怎么还是不行呢,谢谢,没问题了!xep007 写了:请用root启动vpnclient.it5u 写了:ubuntu10.10,PacketiX VPN3.0中文版,在执行网卡制作时出错了,HELP ME!
VPN Client>niccreate
NicCreate 命令 - 新的虚拟 LAN 卡的制作
虚拟 LAN 卡名:0
发生错误。(错误代码: 31)
虚拟网络适配器的设备驱动程序安装失败。
试了2.0英文版,也是一样的情况,不知道问题出在哪儿。
hupengfei@hupengfei-desktop:~$ sudo ./vpnclient start
PacketiX VPN Client Service Started.
hupengfei@hupengfei-desktop:~$ sudo ./vpncmd
vpncmd command - PacketiX VPN Command Line Management Utility
PacketiX VPN Command Line Management Utility (vpncmd command)
Version 2.20 Build 5350 (English)
Compiled Oct 9 2007 01:27:58 by yagi at ILC308
Copyright (C) 2004-2007 SoftEther Corporation. All Rights Reserved.
By using vpncmd program, the following can be achieved.
1. Management of VPN Server or VPN Bridge
2. Management of VPN Clinet
3. Use of VPN Tools (certificate creation and communication speed measurement)
Select 1, 2 or 3: 2
Specify the host name or IP address of the computer that the destination VPN Client is operating on.
If nothing is input and Enter is pressed, connection will be made to localhost (this computer).
Input destination: localhost
Connected to VPN Client "localhost".
VPN Client>NicCreate
NicCreate command - Create New Virtual Network Adapter
Virtual Network Adapter Name: 0
Error occurred. (Error code: 31)
Installation of the Virtual Network Adapter device driver failed.
VPN Client>
-
- 帖子: 30
- 注册时间: 2011-06-13 14:04
Re: linux下安装PacketiX VPN 客户端
7. get dhcp from vpn
root@bur8:~/vpnclient> dhclient vpn_0
Listening on LPF/vpn_0/00:ac:9d:03:5c:f6
Sending on LPF/vpn_0/00:ac:9d:03:5c:f6
Sending on Socket/fallback
DHCPREQUEST of 10.3.83.250 on vpn_0 to 255.255.255.255 port 67
DHCPACK of 10.3.83.250 from 10.0.0.1
bound to 10.3.83.250 -- renewal in 437751335 seconds.
root@bur8:~/vpnclient> ifconfig vpn_0
vpn_0 Link encap:Ethernet HWaddr 00:ac:9d:03:5c:f6
inet addr:10.3.83.250 Bcast:10.255.255.255 Mask:255.0.0.0
now you can start routing you connection to vpn..
sorry but this is a noob routing technique...it will redirect all your traffic to vpn
route del default
route add default dev vpn_0
for more about how to do advance routing in linux please refer to http://lartc.org/howto/index.html
p/s: to back to your current connection.. stop the service and reroute back to your original gateway.
in my case
./vpnclient stop
route del default
route add default dev ppp0
where ppp0 is my celcom 3g modem interface
for those who didn't know what the hell packetix.net is....
PacketiX.NET is an academic, non-profit online environment for PacketiX VPN, the VPN technology developed by SoftEther Corporation.
more info please visit their website at http://packetix.net/en/
update: you need to enable ipforwarding or else you won't be able to connect to internet.
$ echo 1 > /proc/sys/net/ipv4/ip_forward
or simply edit your /etc/sysctl.conf file
hope it this guide will give benefit to everyone.. thank you
[/quote]
到这我就卡在这了,你们谁有成功的?
root@bur8:~/vpnclient> dhclient vpn_0
Listening on LPF/vpn_0/00:ac:9d:03:5c:f6
Sending on LPF/vpn_0/00:ac:9d:03:5c:f6
Sending on Socket/fallback
DHCPREQUEST of 10.3.83.250 on vpn_0 to 255.255.255.255 port 67
DHCPACK of 10.3.83.250 from 10.0.0.1
bound to 10.3.83.250 -- renewal in 437751335 seconds.
root@bur8:~/vpnclient> ifconfig vpn_0
vpn_0 Link encap:Ethernet HWaddr 00:ac:9d:03:5c:f6
inet addr:10.3.83.250 Bcast:10.255.255.255 Mask:255.0.0.0
now you can start routing you connection to vpn..
sorry but this is a noob routing technique...it will redirect all your traffic to vpn
route del default
route add default dev vpn_0
for more about how to do advance routing in linux please refer to http://lartc.org/howto/index.html
p/s: to back to your current connection.. stop the service and reroute back to your original gateway.
in my case
./vpnclient stop
route del default
route add default dev ppp0
where ppp0 is my celcom 3g modem interface
for those who didn't know what the hell packetix.net is....
PacketiX.NET is an academic, non-profit online environment for PacketiX VPN, the VPN technology developed by SoftEther Corporation.
more info please visit their website at http://packetix.net/en/
update: you need to enable ipforwarding or else you won't be able to connect to internet.
$ echo 1 > /proc/sys/net/ipv4/ip_forward
or simply edit your /etc/sysctl.conf file
hope it this guide will give benefit to everyone.. thank you

到这我就卡在这了,你们谁有成功的?
-
- 帖子: 30
- 注册时间: 2011-06-13 14:04
Re: linux下安装PacketiX VPN 客户端
To operate the Linux version of VPN Client, the Universal TUN/TAP device driver module must be embedded in the kernel. For details, please refer to http://vtun.sourceforge.net/tun/.
The Linux version of VPN Client does not have a function for automatically rewriting the routing table. To set the tap device connected to the VPN as the default gateway, you may need to manually connect the static route to the VPN server.
To use the tap device created with the Linux version of VPN Client as a DHCP client device, you must properly set the DHCP client daemon.
The Linux version of VPN Client does not have a function for automatically rewriting the routing table. To set the tap device connected to the VPN as the default gateway, you may need to manually connect the static route to the VPN server.
To use the tap device created with the Linux version of VPN Client as a DHCP client device, you must properly set the DHCP client daemon.
-
- 帖子: 1
- 注册时间: 2010-01-11 15:13
Re: linux下安装PacketiX VPN 客户端
loaclhost 应为 localhost以父之名 写了:已经root,仍然出现这种情况。代码: 全选
vpncmd 命令 - PacketiX VPN 命令行管理工具 PacketiX VPN 命令行管理工具 (vpncmd 命令) Version 3.02 Build 7392 (Simplified_Chinese) Compiled 2011/02/28 19:08:12 by yagi at pc25 Copyright (C) 2004-2011 SoftEther Corporation. All Rights Reserved. 通过使用 vpncmd 程序,可以取得以下成果。 1. 管理的 VPN Server 或 VPN Bridge 2. 管理 VPN Client 3. 使用 VPN 工具 (创建证书和通信速度测量) 选择 1, 2 或 3: 2 指定的主机名或正在运行的目标 VPN Client 计算机的 IP 地址。 如果不输入任何内容并且按下回车键,将连接到本地主机 (这台电脑)。 输入目标主机名或 IP 地址: loaclhost 发生错误。(错误代码: 1) 服务器连接失败。请检查网络连接,地址和端口是否正确。
-
- 帖子: 13
- 注册时间: 2008-10-14 10:09
Re: linux下安装PacketiX VPN 客户端
vpnclient设置成功,显示已经连接了secure,但是浏览器打开还是连不上,这是怎么回事?
有没有大牛告诉我怎样设置系统?我是菜菜。
我的系统是ubuntu 11.10。多谢了!
有没有大牛告诉我怎样设置系统?我是菜菜。
我的系统是ubuntu 11.10。多谢了!
- tailsgao
- 帖子: 209
- 注册时间: 2010-07-09 7:37
Re: linux下安装PacketiX VPN 客户端
连接已经失效。
-
- 帖子: 12
- 注册时间: 2012-01-29 9:52
Re: linux下安装PacketiX VPN 客户端
我在“Input destination:”的时候出错了。
Input destination: localhost
Error occurred. (Error code: 1)
Connection to server failed. Check network connection, and address and port number of destination sever.
user@user-Lenovo:~/下载/vpnclient$
哪位高手知道是怎么回事儿?
Input destination: localhost
Error occurred. (Error code: 1)
Connection to server failed. Check network connection, and address and port number of destination sever.
user@user-Lenovo:~/下载/vpnclient$
哪位高手知道是怎么回事儿?
-
- 帖子: 2
- 注册时间: 2012-10-08 10:43
Re: linux下安装PacketiX VPN 客户端
其他所有操作一切正常,连接也显示Connected,就是执行完dhclient还是获取不到IP地址,maybe that is the problem, thanks for your word~~eliotlyn 写了:To operate the Linux version of VPN Client, the Universal TUN/TAP device driver module must be embedded in the kernel. For details, please refer to http://vtun.sourceforge.net/tun/.
The Linux version of VPN Client does not have a function for automatically rewriting the routing table. To set the tap device connected to the VPN as the default gateway, you may need to manually connect the static route to the VPN server.
To use the tap device created with the Linux version of VPN Client as a DHCP client device, you must properly set the DHCP client daemon.
- xtay573269555
- 帖子: 217
- 注册时间: 2008-09-24 23:56
Re: linux下安装PacketiX VPN 客户端
看了下最后的英文说明,每次还要更改路由,有点麻烦!
- tang.zhe
- 帖子: 1505
- 注册时间: 2010-07-15 13:31
Re: linux下安装PacketiX VPN 客户端
不是有点麻烦,让小白连vpn比登天还难,我发誓,谁能在笨兔下将我公司的vpn处理明白,我一定第一时间将可恶的win7删除,永不使用双系统。
Ubuntu 命令技巧: http://wiki.ubuntu.org.cn/index.php?tit ... iant=zh-cn
Ubuntu 桌面指南: https://help.ubuntu.com//
Ubuntu 桌面指南: https://help.ubuntu.com//