Quick HOWTO : Ch35 : Configuring Linux VPNs/zh:修订间差异
第1行: | 第1行: | ||
{{Translation}} | |||
{{From|http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch35_:_Configuring_Linux_VPNs}} | |||
{{Translator|sanebaby}} | |||
{{Languages|php5}} | |||
== 介绍 == | == 介绍 == | ||
2008年7月14日 (一) 21:50的版本
文章出处: |
{{#if: | {{{2}}} | http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch35_:_Configuring_Linux_VPNs }} |
点击翻译: |
English {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/af | • {{#if: php5|Afrikaans| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/af|Afrikaans]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/ar | • {{#if: php5|العربية| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/ar|العربية]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/az | • {{#if: php5|azərbaycanca| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/bcc | • {{#if: php5|جهلسری بلوچی| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/bg | • {{#if: php5|български| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/bg|български]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/br | • {{#if: php5|brezhoneg| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/br|brezhoneg]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/ca | • {{#if: php5|català| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/ca|català]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/cs | • {{#if: php5|čeština| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/cs|čeština]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/de | • {{#if: php5|Deutsch| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/de|Deutsch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/el | • {{#if: php5|Ελληνικά| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/es | • {{#if: php5|español| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/es|español]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/fa | • {{#if: php5|فارسی| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/fa|فارسی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/fi | • {{#if: php5|suomi| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/fi|suomi]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/fr | • {{#if: php5|français| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/fr|français]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/gu | • {{#if: php5|ગુજરાતી| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/he | • {{#if: php5|עברית| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/he|עברית]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/hu | • {{#if: php5|magyar| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/hu|magyar]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/id | • {{#if: php5|Bahasa Indonesia| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/it | • {{#if: php5|italiano| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/it|italiano]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/ja | • {{#if: php5|日本語| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/ja|日本語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/ko | • {{#if: php5|한국어| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/ko|한국어]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/ksh | • {{#if: php5|Ripoarisch| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/mr | • {{#if: php5|मराठी| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/mr|मराठी]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/ms | • {{#if: php5|Bahasa Melayu| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/nl | • {{#if: php5|Nederlands| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/nl|Nederlands]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/no | • {{#if: php5|norsk| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/no|norsk]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/oc | • {{#if: php5|occitan| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/oc|occitan]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/pl | • {{#if: php5|polski| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/pl|polski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/pt | • {{#if: php5|português| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/pt|português]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/ro | • {{#if: php5|română| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/ro|română]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/ru | • {{#if: php5|русский| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/ru|русский]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/si | • {{#if: php5|සිංහල| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/si|සිංහල]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/sq | • {{#if: php5|shqip| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/sq|shqip]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/sr | • {{#if: php5|српски / srpski| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/sv | • {{#if: php5|svenska| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/sv|svenska]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/th | • {{#if: php5|ไทย| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/th|ไทย]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/tr | • {{#if: php5|Türkçe| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/tr|Türkçe]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/vi | • {{#if: php5|Tiếng Việt| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/yue | • {{#if: php5|粵語| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/yue|粵語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/zh | • {{#if: php5|中文| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/zh|中文]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/zh-hans | • {{#if: php5|中文(简体)| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Quick HOWTO : Ch35 : Configuring Linux VPNs/zh}}/zh-hant | • {{#if: php5|中文(繁體)| [[::Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:php5|:Quick HOWTO : Ch35 : Configuring Linux VPNs/zh|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/zh | | {{#ifexist: Quick HOWTO : Ch35 : Configuring Linux VPNs/zh/zh | | {{#ifeq: {{#titleparts:Quick HOWTO : Ch35 : Configuring Linux VPNs/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Quick HOWTO : Ch35 : Configuring Linux VPNs/zh|1|-1|}} | zh | | }}
介绍
As your SOHO grows, you'll eventually need to establish some form of secure data link with a supplier, vendor, branch office, business partner, or customer that will enable you to access their servers behind their Internet firewall.
One method of doing this is to create a Virtual Private Network (VPN) to provide an encrypted data stream between your firewall and theirs. A VPN is really convenient, because you can refer to the remote servers, not by their public network address translated IP addresses, but by their real, private IP addresses. This avoids problems inherent in connecting to servers behind a many to one NAT configuration.
This chapter will outline the configuration of a permanent site-to-site VPN link or tunnel using Openswan, one of the most popular VPN packages for Linux.
If you are new to VPNs, please refer to Appendix I, "Miscellaneous Linux Topics," for some important background information that will provide a deeper understanding of the steps outlined in this chapter.