~akapoor92/ubuntu-docs/fix-for-889089

« back to all changes in this revision

Viewing changes to serverguide/C/vpn.xml

  • Committer: Bazaar Package Importer
  • Author(s): Matthew East
  • Date: 2010-03-29 07:56:15 UTC
  • Revision ID: james.westby@ubuntu.com-20100329075615-6j63m8ed1k2zxtdc
Tags: 10.04.2
* General:
  - Fixes to scripts/fix-url.sh (including LP: #482862)
  - Fix character encoding in contributors.xml (LP: #448618)
  - Updated version in browser-startpage html files, LP: #526320
  - Refresh pot files
* Add-applications:
  - Updates for UI changes, Phil Bull
* Config-desktop:
  - Added topic on changing window buttons from the left, Phil Bull
* Hardware:
  - Added mention of gsynaptics, Connor Imes, LP: #450567
* Internet:
  - Refresh list of plugins supplied by ubuntu-restricted-extras, branch 
    from Nathan Murray, LP: #504981
  - Updates to reflect that Ekiga no longer installed by default, Connor Imes,
    LP: #508572
  - Grammar fix from Alex Wardle, LP: #517776
  - Order adjustment for shares-admin usage, Alex Wardle, LP: #518119
  - Button name change for shares-admin app, Alex Wardle, LP: #518170
  - Use unlock icon in networking section, Alex Wardle, LP: #518117
  - Updated directions on changing text size and page zooming in firefox,
    Alison Rowland, LP: #512556
  - Fixed guilabel usage in modem section. Alex Wardle, LP: #521243
  - Updated button and tab names in Static Connections section,
    Alex Wardle, LP: #521508
  - Typo fix in adsl section. Alex Wardle, LP: #525349
  - Removed unused and empty basics.xml, LP: #525431
  - Minor wording update to directions for sharing folders via nautilus,
    Connor Imes, LP: #518175
  - Use 'NetworkManager' not 'Network Manager' for consistency, Connor Imes
    LP: #518107
  - Update to troubleshooting mobile devices, Connor Imes, LP: #453459
  - Adjusted description of NetworkManager applet icons, Connor Imes
    LP: #440826
  - Additions to VPN section of connecting guide, Alex Wardle, LP: #452647
  - Expanded on using config files for vpn connections, Connor Imes
  - Command line substitution for Services utility which is not in Karmic or
    Lucid, Connor Imes, LP: #518460
  - Structural and language changes + updates for UI changes, Phil Bull
* Musicvideophotos:
  - Added section for recording and editing video, Book 'em Dano, LP: #367569
* Newtoubuntu:
  - Complete rewrite, Matthew East
* Printing:
  - Simple Scan replaced xsane for scanning documents, Alex Wardle, LP: #546193
* Serverguide:
  - Rename link to serverguide in advanced-topics.xml, Gilbert 
    Mendoza, LP: #505708
  - Use distro-short-codename variable for vmbuilder documentation in 
    serverguide rather than static version example, Connor Imes,. LP: #509653
  - Small fixes to security chapter, Connor Imes, LP: #510703
  - Small fixes from Nathan Handler, LP: #507624
  - Configuration change for OpenLDAP, Connor Imes, LP: #511090
  - Refresh of network-config section, Gilbert Mendoza, LP: #506800
  - Update manpage links to use distro-short-codename, Connor Imes
  - Changed OpenLDAP replication to use single Provider/Consumer configuration,
    Adam Sommer
  - Removed grub-password-security section - it does not apply to Grub2,
    Gilbert Mendoza, LP: #384148
  - Reference Grub2 community doc page for advanced configuration directions,
    Connor Imes, LP: #437446
  - Added necessary configuration options for apt Periodic in automatic-updates
    section, Connor Imes, LP: #532661
  - Added subsections for consumer and provider configuration steps, Adam Sommer
  - Changed TLS Replication section to use Single-Master scheme, Adam Sommer
  - Clarified Postfix TLS/SSL using a CA configuration steps, Adam Sommer,
    LP: #518289
  - Changed Apache2 Subversion configuration to use VirtualHost file instead
    of apache2.conf, Adam Sommer, LP: #515298.
  - Adding Ubuntu Wiki links to each section's Resources subsection, Adam Sommer
  - Added note in mail section about some packages being in multiverse,
    Connor Imes, LP: #509355
  - Use default serverguide index.html file location for accessing serverguide
    in terminal, Connor Imes, LP: #537167#
  - Updated to use Grub2 directions, Connor Imes, LP: #533582
  - Updated MySQL information for mysql-server-5.1, Adam Sommer
  - Replaced screen-profiles with byobu project, Adam Sommer
  - Changed egrep command with kvm-ok script, Adam Sommer
  - Removed references to likewise-open5, Adam Sommer
  - Add reporting-bugs.xml - Steve Beattie
  - Replaced Eucalyptus section with information on UEC, Adam Sommer
  - Updated command and configuration mistakes in vpn.xml, Adam Sommer
    LP: #489819
  - Replaced update-motd section with newer pam_motd, Adam Sommer, LP: #496184
  - Updated LocalSettings.php command for new file path, and recommending upping
    the memory limit based on feedback from Cornelius Brümmer, Adam Sommer
  - Updated Installation section for Lucid, and added row seperator for UEC
    requirement tables, Adam Sommer
  - Changed OpenLDAP TLS/SSL options to use gnutls to create certificate instead 
    of OpenSSL, Adam Sommer
* Switching/Windows:
  - Updated dualboot section to use startupmanager for changing 
    boot options (valid for Grub and Grub2), Connor Imes
  - Fixed 'Ubuntu Ubuntu' typo, Alex Wardle, LP: #526083
  - Removed old string from Windows section and copied correct string to
    Switching guide, Connor Imes, LP: #527905
  - Split off directions for exporting favorites in IE8. Broke different
    IE versions down into subsections, Connor Imes, LP: #528808

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
 
52
52
        <para>
53
53
        First, copy the <filename>easy-rsa</filename> directory to <filename>/etc/openvpn</filename>.  This will ensure that any 
54
 
        changes to the scripts will not be lost when the package is updated.  From a terminal enter:
 
54
        changes to the scripts will not be lost when the package is updated.  You will also need to adjust permissions in the 
 
55
        <filename>easy-rsa</filename> directory to allow the current user permission to create files.  From a terminal enter:
55
56
        </para>
56
57
 
57
58
<screen>
58
59
<command>sudo mkdir /etc/openvpn/easy-rsa/</command>
59
 
<command>sudo cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/ /etc/openvpn/</command>
 
60
<command>sudo cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa/</command>
 
61
<command>sudo chown -R $USER /etc/openvpn/easy-rsa/</command>
60
62
</screen>
61
63
 
62
64
        <para>
76
78
        </para>
77
79
 
78
80
<screen>
79
 
<command>cd /etc/openvpn/easy-rsa/easy-rsa</command>
 
81
<command>cd /etc/openvpn/easy-rsa/</command>
80
82
<command>source vars</command>
81
83
<command>./clean-all</command>
82
84
<command>./build-dh</command>
113
115
        </para>
114
116
 
115
117
        <itemizedlist>
116
 
          <listitem><para>/etc/openvpn/easy-rsa/hostname.ovpn</para></listitem>
117
 
          <listitem><para>/etc/openvpn/easy-rsa/ca.crt</para></listitem>
118
 
          <listitem><para>/etc/openvpn/easy-rsa/hostname.crt</para></listitem>
119
 
          <listitem><para>/etc/openvpn/easy-rsa/hostname.key</para></listitem>
120
 
          <listitem><para>/etc/openvpn/easy-rsa/ta.key</para></listitem>
 
118
          <listitem><para>/etc/openvpn/ca.crt</para></listitem>
 
119
          <listitem><para>/etc/openvpn/easy-rsa/keys/hostname.crt</para></listitem>
 
120
          <listitem><para>/etc/openvpn/easy-rsa/keys/hostname.key</para></listitem>
 
121
          <listitem><para>/etc/openvpn/ta.key</para></listitem>
121
122
        </itemizedlist>
122
123
 
123
124
        <note>
150
151
</screen>
151
152
 
152
153
        <para>
153
 
        Edit <filename>etc/openvpn/server.conf</filename> changing the following options to:
 
154
        Edit <filename>/etc/openvpn/server.conf</filename> changing the following options to:
154
155
        </para>
155
156
 
156
157
<programlisting>
157
158
local 172.18.100.101
158
159
dev tap0
 
160
up "/etc/openvpn/up.sh br0"
 
161
down "/etc/openvpn/down.sh br0"
 
162
;server 10.8.0.0 255.255.255.0
159
163
server-bridge 172.18.100.101 255.255.255.0 172.18.100.105 172.18.100.200
160
164
push "route 172.18.100.1 255.255.255.0"
161
165
push "dhcp-option DNS 172.18.100.20"
246
250
        <title>Client Configuration</title>
247
251
 
248
252
        <para>
249
 
        With the server configured and the client certificates copied over, create a client configuration file by 
 
253
        First, install <application>openvpn</application> on the client:
 
254
        </para>
 
255
 
 
256
<screen>
 
257
<command>sudo apt-get install openvpn</command>
 
258
</screen>
 
259
 
 
260
        <para>
 
261
        Then with the server configured and the client certificates copied to the <filename>/etc/openvpn/</filename> directory, create a client configuration file by 
250
262
        copying the example.  In a terminal on the client machine enter:
251
263
        </para>
252
264
 
302
314
          is a good resource.
303
315
          </para>
304
316
        </listitem>
 
317
        <listitem>
 
318
          <para>
 
319
          Another source of further information is the <ulink url="https://help.ubuntu.com/community/OpenVPN">Ubuntu Wiki OpenVPN</ulink> page.
 
320
          </para>
 
321
        </listitem>
305
322
      </itemizedlist>
306
323
 
307
324
    </sect2>