Openvpn: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Centos 6.4== === Install === <source> yum -y install openvpn easy-rsa </source> Category:How-to Category:Linux Category:Services") |
|||
Line 5: | Line 5: | ||
yum -y install openvpn easy-rsa | yum -y install openvpn easy-rsa | ||
</source> | </source> | ||
<source> | |||
mkdir -p /etc/openvpn/easy-rsa/keys | |||
cp -rf /usr/share/easy-rsa/2.0/* /etc/openvpn/easy-rsa | |||
</source> | |||
<source> | |||
cd /etc/openvpn/easy-rsa/ | |||
emacs vars | |||
</source> | |||
<source> | |||
# modify variables in file: vars (bottom of file) | |||
export KEY_COUNTRY="US" | |||
export KEY_PROVINCE="CA" | |||
export KEY_CITY="SanFrancisco" | |||
export KEY_ORG="Fort-Funston" | |||
export KEY_EMAIL="me@myhost.mydomain" | |||
export KEY_EMAIL=mail@host.domain | |||
export KEY_CN=changeme | |||
export KEY_NAME=changeme | |||
export KEY_OU=changeme | |||
export PKCS11_MODULE_PATH=changeme | |||
export PKCS11_PIN=1234 | |||
</source> | |||
[[Category:How-to]] | [[Category:How-to]] | ||
[[Category:Linux]] | [[Category:Linux]] | ||
[[Category:Services]] | [[Category:Services]] |
Revision as of 17:30, 29 August 2013
Centos 6.4
Install
<source> yum -y install openvpn easy-rsa </source>
<source> mkdir -p /etc/openvpn/easy-rsa/keys cp -rf /usr/share/easy-rsa/2.0/* /etc/openvpn/easy-rsa </source>
<source> cd /etc/openvpn/easy-rsa/ emacs vars </source> <source>
- modify variables in file: vars (bottom of file)
export KEY_COUNTRY="US" export KEY_PROVINCE="CA" export KEY_CITY="SanFrancisco" export KEY_ORG="Fort-Funston" export KEY_EMAIL="me@myhost.mydomain" export KEY_EMAIL=mail@host.domain export KEY_CN=changeme export KEY_NAME=changeme export KEY_OU=changeme export PKCS11_MODULE_PATH=changeme export PKCS11_PIN=1234 </source>