[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaÚltima revisiónAmbos lados, revisión siguiente | ||
es:howtos:security:openvpn [2019/03/10 19:34 (UTC)] – [How to use OpenVPN] antares_alf | es:howtos:security:openvpn [2019/03/11 02:20 (UTC)] – [Sources] antares_alf | ||
---|---|---|---|
Línea 5: | Línea 5: | ||
OpenVPN les permite autenticarse entre sí utilizando una clave secreta precompartida, | OpenVPN les permite autenticarse entre sí utilizando una clave secreta precompartida, | ||
- | ===== Cómo usar OpenVPN | + | ===== Cómo usar OpenVPN ===== |
Es muy simple si ya tiene una configuración lista para usar por cualquier proveedor openvpn. | Es muy simple si ya tiene una configuración lista para usar por cualquier proveedor openvpn. | ||
Línea 14: | Línea 14: | ||
Si no tiene una configuración que pueda usar, debería mirar en / | Si no tiene una configuración que pueda usar, debería mirar en / | ||
- | ==== Using OpenVPN | + | ==== Usando |
- | I'm using the [[howtos: | + | Estoy usado el [[howtos: |
- | The i3status.conf | + | El i3status.conf |
- | You have to start openvpn | + | Debe iniciar |
- | For example: | + | Por ejemplo: |
< | < | ||
openvpn --config / | openvpn --config / | ||
</ | </ | ||
+ | Para usar la función de compilación tienes que editar el archivo de configuración. | ||
- | To use the build in feature you have to edit the config file. | + | Busca el |
- | Look for the | + | |
< | < | ||
run_watch VPN { | run_watch VPN { | ||
Línea 34: | Línea 34: | ||
}</ | }</ | ||
+ | bloquea y cambia algo en su nombre pid elegido. | ||
+ | |||
+ | En este caso: | ||
block and change the something into your choosen pid name. | block and change the something into your choosen pid name. | ||
In this case: | In this case: | ||
Línea 44: | Línea 47: | ||
- | ===== Rebuilding | + | ===== Reconstruyendo |
- | Since I wanted my openvpn connection to start automatically when I connect my Thinkpad to the dock I thought it would be usefull to add the ' | + | |
- | Start by grabbing the source and slackbuild | + | Como quería que mi conexión openvpn se iniciara automáticamente cuando conecte mi Thinkpad al dock, pensé que sería útil agregar la función ' |
+ | |||
+ | Comience por tomar la fuente y slackbuild de uno de los espejos de Slackware. | ||
[[http:// | [[http:// | ||
- | Change the mirror for your needs, for example | + | Cambie el espejo para sus necesidades, por ejemplo |
- | In the next step we will change the openvpn.SlackBuild | + | En el siguiente paso cambiaremos el archivo |
- | Open the slackbuild | + | Abra el archivo |
- | For vim do: | + | Para vim hacer: |
< | < | ||
- | Now look for this block of code: | + | Ahora busca este bloque de código: |
< | < | ||
Línea 74: | Línea 78: | ||
</ | </ | ||
- | Add the marked line to it. | + | Añade la línea marcada a ella. |
< | < | ||
Línea 88: | Línea 92: | ||
</ | </ | ||
- | Save the file, make it executable and rebuild the package with | + | Guarda el archivo, hazlo ejecutable y reconstruye el paquete con |
< | < | ||
- | The new package should be in the /tmp directory. | + | El nuevo paquete debe estar en el directorio |
- | Install it with: | + | Instalarlo con: |
< | < | ||
- | Now you are able to load your login and password from a file. | + | Ahora puede cargar su nombre de usuario y contraseña desde un archivo. |
- | The file should contain two lines of text: | + | El archivo debe contener dos líneas de texto: |
< | < | ||
Línea 106: | Línea 110: | ||
</ | </ | ||
+ | Guarde el archivo y hágalo solo legible para el propietario. | ||
- | Save the file and make it only readable for the owner. | ||
< | < | ||
- | Lastly add the line below to your openvpn | + | Por último, agregue la siguiente línea a su configuración de openvpn. |
< | < | ||
- | Now you should be able to login without typing your password everytime. | + | Ahora debería poder iniciar sesión sin tener que escribir su contraseña cada vez. |
- | + | ====== | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ====== | + | |
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> | ||
<!-- * Original source: [[http:// | <!-- * Original source: [[http:// | ||
Línea 125: | Línea 124: | ||
<!-- * Contributions by [[wiki: | <!-- * Contributions by [[wiki: | ||
* Wikipedia: [[http:// | * Wikipedia: [[http:// | ||
- | * Originally written by [[wiki: | + | * Originalmente escrito por: [[wiki: |
+ | * Traducido al español por: [[wiki: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
{{tag> | {{tag> | ||