linux下PacketiX的安装设置

download:

1
2
3
4
5
wget http://www.softether.co.jp/jp/download/file.aspx/37520A8DB099EC339A07F95D005370B22CA9E67C/vpnclient-5280-rtm-linux-x64.tar.gz

tar xzvf vpnclient-5280-rtm-linux-x64.tar.gz
cd vpnclient
make

notice:

1
cannot find -lcurses

solution:

copy these two files under /usr/lib64

1
2
libncurses.a
libncurses.so

to vpnclient install directory. and:

1
vi Makefile

change:

1
-lcurses

to:

1
-lncurses -L.

final:

1
make

How to access vpn client:

1
./vpncmd localhost

configure:

1
2
cd /usr/local/vpnclient/
./vpncmd

select 2 and enter next, you will getm VPN Client:

1
command: (exam:fujikazu /fujikazu123456)

create name:

1
NicCreate VPNChina

configure args:

1
AccountCreate VPNChina /SERVER:vpn.a-it.jp:8888 /HUB:CHINA-HUB /USERNAME:fujikazu /NICNAME:VPNChina

set up vpn:

1
AccountStartupSet VPNChina

set password:

1
AccountPasswordSet VPNChina /PASSWORD:fujikazu123456 /TYPE:standard

connect vpn:

1
AccountConnect VPNChina

cut off vpn:

1
AccountDisconnect VPNChina

test:

1
ping 192.168.6.52

It ‘s OK if ping reachable.