• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinokernel and ubootpcDuino as OpenVPN server (I)
Previous Next

pcDuino as OpenVPN server (I)

Posted by: admin , December 30, 2013

[vc_row][vc_column width=”1/1″][vc_column_text]OpenVPN is an open source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It uses a custom security protocol[2] that utilizes SSL/TLS for key exchange. It is capable of traversing network address translators (NATs) and firewalls. It was written by James Yonan and is published under the GNU General Public License (GPL).[3]

OpenVPN allows peers to authenticate each other using a pre-shared secret key, certificates, or username/password. When used in a multiclient-server configuration, it allows the server to release an authentication certificate for every client, using signature and Certificate authority. It uses the OpenSSL encryption library extensively, as well as the SSLv3/TLSv1 protocol, and contains many security and control features.

To install OpenVPN, we need NAT enabled in kernel.  This post is divided into two parts, build the kernel and the second part, install the software.

There is a tutorial about how to cross build pcDuino kernel on a X86-64 machine.   Please read it before continue this post.

The following work is done on a X86-64 machine.

We use command “#make linux-config” to configure the kernel:

openvpn1

The following steps are to configure to use NAT:

openvpn2

openvpn3

openvpn4

openvpn5

openvpn5 openvpn6

openvpn6 openvpn7

openvpn7 openvpn8

openvpn9

openvpn9 openvpn10

openvpn10 openvpn11

openvpn12

Replace the generated configuration using the following command:

#cp build/sun4i_defconfig-linux/.config patch/linux-sunxi/arch/arm/configs/sun4i_defconfig

openvpn13

We can then continue to build the kernel by:

#cd kernel
#make

[/vc_column_text][/vc_column][/vc_row]

Tags: kernel and uboot

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors