Recebi um arquivo de configuração da equipe técnica da minha universidade para configurar uma conexão OpenVPN. Segundo o pessoal, devo abrir a conexão manualmente na linha de comando através do seguinte comando
openvpn --config arquivo_configuração.conf
Porém, devo manter um terminal aberto com esse comando em execução (provavelmente através da tela consigo menos perturbação). No entanto, posso usar a GUI de conexão VPN do Ubuntu para configurar essa VPN usando as informações encontradas no arquivo de configuração? Como fazer isso?
O conteúdo do arquivo de configuração está abaixo:
#############################################
# Sample client-side OpenVPN 2.0 config file.
# for connecting to multi-client server.
##############################################
#tls-cipher "DEFAULT:@SECLEVEL=0"
# Specify that we are a client and that we
# will be pulling certain config file directives
# from the server.
client
dev tun
proto udp
# The hostname/IP and port of the server.
remote <ip-adress> <port>
# host name of the OpenVPN server. Very useful
# on machines which are not permanently connected
# to the internet such as laptops.
resolv-retry infinite
# Most clients don't need to bind to
# a specific local port number.
nobind
# Try to preserve some state across restarts.
persist-key
persist-tun
comp-lzo
# Certificate Authority
<ca>
-----BEGIN CERTIFICATE-----
BLABLABLA
-----END CERTIFICATE-----
</ca>
# Username/Password authentication is used on the server
auth-user-pass
# Verify server certificate by checking
# that the certicate has the nsCertType
# field set to "server". This is an
# important precaution to protect against
# a potential attack discussed here:
# http://openvpn.net/howto.html#mitm
#
# To use this feature, you will need to generate
# your server certificates with the nsCertType
# field set to "server". The build-key-server
# script in the easy-rsa folder will do this.
ns-cert-type server
# Set log file verbosity.
verb 3