“UbuntuHelp:OpenVPNClientMiniHowto”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/OpenVPNClientMiniHowto}} {{Languages|UbuntuHelp:OpenVPNClientMiniHowto}} The following is no longer true at least for Feisty, 2.X version is in th...) |
小 |
||
(未显示同一用户的5个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/OpenVPNClientMiniHowto}} | {{From|https://help.ubuntu.com/community/OpenVPNClientMiniHowto}} | ||
{{Languages|UbuntuHelp:OpenVPNClientMiniHowto}} | {{Languages|UbuntuHelp:OpenVPNClientMiniHowto}} | ||
− | The following is no longer true at least for Feisty, 2.X version is in the universe | + | The following is no longer true at least for Feisty, 2.X version is in the universe repository. Also, for configuring client side, network-manager-openvpn can become very handy. I leave the original page underneath in case anyne needed it. |
− | + | [[UbuntuHelp:OpenVPN|OpenVPN]] version 1.x is available in the universe reposiroty. <code><nowiki>apt-get install openvpn</nowiki></code> will do the necessary. | |
− | OpenVPN version 1.x is available in the universe reposiroty. <code><nowiki>apt-get install openvpn</nowiki></code> will do the necessary. | + | Although [[UbuntuHelp:OpenVPN|OpenVPN]] version 2 is still at beta stage at the time of writing, it is already in use quite widely (my employers have been using it for a while on both windows and linux clients). |
− | + | ||
− | Although OpenVPN version 2 is still at beta stage at the time of writing, it is already in use quite widely (my employers have been using it for a while on both windows and linux clients). | + | |
− | + | ||
If you want (or need, as release 2 has some functionality not in version 1) to go for version 2. You can download the source code from here: http://sourceforge.net/projects/openvpn/ | If you want (or need, as release 2 has some functionality not in version 1) to go for version 2. You can download the source code from here: http://sourceforge.net/projects/openvpn/ | ||
− | |||
You'll need to install a couple of packages that the confiure script looks for: | You'll need to install a couple of packages that the confiure script looks for: | ||
<pre><nowiki> | <pre><nowiki> | ||
apt-get install libssl-dev liblzo-dev | apt-get install libssl-dev liblzo-dev | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
Unzip the source file and change directory into the newly created openvpn-2.0_rcXX directory (where XX is the current release number), then it's just a case of | Unzip the source file and change directory into the newly created openvpn-2.0_rcXX directory (where XX is the current release number), then it's just a case of | ||
<pre><nowiki> | <pre><nowiki> | ||
第20行: | 第15行: | ||
sudo make install | sudo make install | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
That's about it, now you just need to set up your config file and certs somewhere convenient | That's about it, now you just need to set up your config file and certs somewhere convenient | ||
<pre><nowiki> | <pre><nowiki> | ||
第29行: | 第23行: | ||
openvpn --with-config= | openvpn --with-config= | ||
</nowiki></pre> | </nowiki></pre> | ||
− | |||
==== notes ==== | ==== notes ==== | ||
for it to work properly you need the tun module in your kernel | for it to work properly you need the tun module in your kernel | ||
* make sure the firewall allows vpn | * make sure the firewall allows vpn | ||
* instructions for creating a tap | * instructions for creating a tap | ||
− | + | If you just want to connect to a microsoft based VPN, you probably don't want to use [[UbuntuHelp:OpenVPN|OpenVPN]]. See https://help.ubuntu.com/community/VPNClient | |
− | If you just want to connect to a microsoft based VPN, you probably don't want to use OpenVPN. See https://help.ubuntu.com/community/VPNClient | + | |
− | + | ||
− | + | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2010年5月19日 (三) 23:48的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
The following is no longer true at least for Feisty, 2.X version is in the universe repository. Also, for configuring client side, network-manager-openvpn can become very handy. I leave the original page underneath in case anyne needed it.
OpenVPN version 1.x is available in the universe reposiroty. apt-get install openvpn
will do the necessary.
Although OpenVPN version 2 is still at beta stage at the time of writing, it is already in use quite widely (my employers have been using it for a while on both windows and linux clients).
If you want (or need, as release 2 has some functionality not in version 1) to go for version 2. You can download the source code from here: http://sourceforge.net/projects/openvpn/
You'll need to install a couple of packages that the confiure script looks for:
apt-get install libssl-dev liblzo-dev
Unzip the source file and change directory into the newly created openvpn-2.0_rcXX directory (where XX is the current release number), then it's just a case of
./configure make sudo make install
That's about it, now you just need to set up your config file and certs somewhere convenient
sudo mkdir /etc/openvpn
and then specify your config file as a command line argument
openvpn --with-config=
notes
for it to work properly you need the tun module in your kernel
- make sure the firewall allows vpn
- instructions for creating a tap
If you just want to connect to a microsoft based VPN, you probably don't want to use OpenVPN. See https://help.ubuntu.com/community/VPNClient