linux下PacketiX的安装设置
download:
1 | wget http://www.softether.co.jp/jp/download/file.aspx/37520A8DB099EC339A07F95D005370B22CA9E67C/vpnclient-5280-rtm-linux-x64.tar.gz |
notice:
1 | cannot find -lcurses |
solution:
copy these two files under /usr/lib64
1 | libncurses.a |
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 | cd /usr/local/vpnclient/ |
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.