అహంకారత్వం
# cd vpnclient
# ./vpnclient start (if you have not rebooted after the installation you do not need to run this)
# ./vpncmd /client localhost
Import one of the ibVPN Softether config files
# VPN Client> accountimport <config_files> ex: accountimport ibVPN-UK-London-1.vpn
Set the password for the imported connection
VPN Client>accountpasswordset AccountPasswordSet command - Set User Authentication Type of VPN Connection Setting to Password Authentication Name of VPN Connection Setting: ibVPN-UK-London-1
Please enter the password. To cancel press the Ctrl+D key.
Password: ******** Confirm input: ********
Specify standard or radius: radius The command completed successfully.
STEP 4. Check if the settings have been imported:
VPN Client>accountlist AccountList command - Get List of VPN Connection Settings Item |Value ----------------------------+-------------------------------------------- VPN Connection Setting Name | ibVPN-UK-London-1 Status |Offline VPN Server Hostname |uk3.ibvpn.com:443 (Direct TCP/IP Connection) Virtual Hub |VPN Virtual Network Adapter Name |ibvpn The command completed successfully.
STEP 5. Connect to the VPN server:
VPN Client> accountconnect <vpn_connection_setting_name> ex: accountconnect ibVPN- UK-London-1
Run "accountlist" again to check the server status, it should now be Connected
Exit vpncmd and run ifconfig
# VPN Client> exit
# ifconfig
Look for adapter name "vpn_ibvpn":
vpn_ibvpn: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::2ac:63ff:fed9:de8a prefixlen 64 scopeid 0x20 ether 00:ac:63:d9:de:8a txqueuelen 1000 (Ethernet) RX packets 3110 bytes 442817 (432.4 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1641 bytes 136676 (133.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Notice the adapter has no IP address allocated by the VPN server. In order to acquire an address from the server you will have to run:
# dhclient vpn_ibvpn
# ifconfig
The adapter should now display a valid IP address:
vpn_ibvpn: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.10.110.147 netmask 255.0.0.0 broadcast 10.255.255.255