¿Cómo configurar una VPN en la GUI de Linux con solo un archivo de configuración?

¿Cómo configurar una VPN en la GUI de Linux con solo un archivo de configuración?

Recibí un archivo de configuración del personal técnico de mi universidad para configurar una conexión OpenVPN. Según el personal, debo abrir la conexión manualmente en la línea de comando mediante el siguiente comando

openvpn --config archivo_configuración.conf

Sin embargo, debo mantener una terminal abierta con ese comando ejecutándose (probablemente a través de la pantalla puedo generar menos molestias). Sin embargo, ¿puedo usar la GUI de conexión VPN de Ubuntu para configurar esa VPN usando la información que se encuentra en el archivo de configuración? ¿como hacer eso?

El contenido del archivo de configuración se encuentra a continuación:

#############################################
# 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

Respuesta1

Puede importar una configuración de VPN utilizando la GUI de administración de red de GNOME. Simplemente haga click "Importar desde archivo..." bajoConfiguración -> Red -> Agregar VPN

Captura de pantalla de configuración

información relacionada