vpn sous linux
bonjour
je veux creer un resau vituel privé (vpn) sous linux vous pouvez me donner la methode a siuvre afin de realiser ce resau et meci
openvpn
Bonjour,
j'ai voulu creer un reseau virtuel privé sous linux , pour cela j'ai installé openvpn sous Red hat.
apres avoir copier tout le contenu de dossier 2.0 dans le repertoir /usr/src/openvpn-2.0.9/easy-rsa et effectué des modifications au niveau de script "vars" , j'ai tapé "./vars" afin de le lancer ,dans ce moment j'ai recu le message suivant
"NOTE : If you run ./clean-all , I will be doing rm -rf on /usr/src/openvpn-2.0.9/easy-rsa/keys"
ensuite j'a tapé la commande "./clean-all" et voila le resultat
" Please source the vars script first (i.e. "source ./vars")
Make sure you have edited it to reflect your configuration"
voila les modifications effectués au niveau de fichier vars
# easy-rsa parameter settings
# NOTE: If you installed from an RPM,
# don't edit this file in place in
# /usr/share/openvpn/easy-rsa --
# instead, you should copy the whole
# easy-rsa directory to another location
# (such as /etc/openvpn) so that your
# edits will not be wiped out by a future
# OpenVPN package upgrade.
# This variable should point to
# the top level of the easy-rsa
# tree.
export EASY_RSA="`pwd`"
#
# This variable should point to
# the requested executables
#
export OPENSSL="openssl"
export PKCS11TOOL="pkcs11-tool"
export GREP="grep"
# This variable should point to
# the openssl.cnf file included
# with easy-rsa.
export KEY_CONFIG=/usr/src/openvpn-2.0.9/easy-rsa/openssl.cnf
#Edit this variable to point to
# your soon-to-be-created key
# directory.
#
# WARNING: clean-all will do
# a rm -rf on this directory
# so make sure you define
# it correctly!
export KEY_DIR="$EASY_RSA/keys"
# Issue rm -rf warning
echo NOTE: If you run ./clean-all, I will be doing a rm -rf on $KEY_DIR
# Increase this to 2048 if you
# are paranoid. This will slow
# down TLS negotiation performance
# as well as the one-time DH parms
# generation process.
export KEY_SIZE=1024
# In how many days should the root CA key expire?
export CA_EXPIRE=3650
# In how many days should certificates expire?
export KEY_EXPIRE=3650
# These are the default values for fields
# which will be placed in the certificate.
# Don't leave any of these fields blank.
export KEY_COUNTRY="fr"
export KEY_PROVINCE="france"
export KEY_CITY="paris"
export KEY_ORG="webcom"
export KEY_EMAIL="contact@webcom.fr"