Cisco VPN Client-Ubuntu Software

Source: Internet
Author: User

After Ubuntu is installed, the goal is to abolish windows. Of course, everyone knows that this is impossible. At least Visual Studio cannot get rid of it. But it is my goal not to use windows to the maximum extent.

In order to achieve the above goal, a large principle has been developed: If you can use Ubuntu, you don't need windows. If you can't, you can use windows in the office. In this way, a problem occurs. How can I use the office computer at home? The Organization provides a Cisco VPN. How do I use Ubuntu to dial the VPN of the Organization?

The old one is to use the Internet. The methods found are the same. Download the VPN Client, patch the VPN Client based on your Linux kernel, install the client, configure the VPN, and use it.

But I don't know if it is because I haven't updated all the updates before, and I have never been able to install correct patches at the beginning. After knowing that my ubuntu was completely updated this morning, the following post successfully completed:

Install the Cisco VPN Client in Ubuntu 8.04

To extract a post, follow these steps:

Download:
1. Download the Cisco VPN clientfile named vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz.
2. download the patch vpnclient-linux-2.6.24.diff.
Unzip the VPN Client downloaded in the first step:
$ Tar xzf vpnclient-linux-x86_64-4.8.01.0640-k9.tar. GZ
A folder named vpnclient is decompressed. Put the vpnclient-linux-2.6.24.diff of the patch file downloaded in step 2 above into this folder.
Enter the vpnclient folder in the terminal and enter the following command to install the patch:
$ Patch <vpnclient-linux-2.6.24. Diff
After completing the patch, run the following command to install the Cisco VPN Client:
$ Sudo ./ Vpn_install
If you want to enter something, you can use the default value for returning vehicles. There may be a bunch of warning messages, so don't worry about it.
After installation, put your. PCF file in/etc/opt/Cisco-vpnclient/profiles.
Run the following command to start the VPN Client:
$ Sudo/etc/init. d/vpnclient_init start


If no patch is installed, an error similar to the following will appear here, And the VPN cannot be started correctly.
After the VPN Client is started, use the following command to connect to the VPN (assume that your. PCF file name is XXX. PCF). Do not add the file suffix. PCF:

 

Starting/opt/Cisco-vpnclient/bin/vpnclient: insmod: Error inserting '/lib/modules/2.6.20-15-386/ciscovpn/cisco_ipsec.ko':-1 invalid module format
Failed (insmod)


$ Sudo vpnclient connect xxx

The above method shows that the connection is successful, but it does not seem to be actually connected (new addresses are obtained, but the ping fails). This phenomenon also exists in Windows, most of the reasons are behind the gateway, but VPN can be used in windows in the same network environment, but it does not work here, it seems that there are still problems.

This evening (July 22, October 26) has once again impacted the VPN. A post on the Internet found that many people cannot use the VPN through the wireless network (it is reported that the virtual network card cannot be activated ), another guy wrote a bunch of posts, and there was a very simple command in it. It was successful after a try:

Sudo ifdown eth0
Sudo vpnclient connect VPN

VPN technology has not been studied in depth, so it is very laborious to debug VPN. Many people on the internet know it as well as me, but do not know why.

In addition, it seems that vpnc is an option other than the Cisco VPN Client. I have not tried it.

In addition, leave two useful links:

[Problem] My God, how can I set up my VPN? I cannot work! Urgent!

Howto: VPN solution under Ubuntu

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.