informatica:linux:dnsmasq
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatica:linux:dnsmasq [2016/10/14 08:53] – javi | informatica:linux:dnsmasq [2019/07/31 13:03] (current) – [dnsmasq con 2 VPNs] javi | ||
|---|---|---|---|
| Line 46: | Line 46: | ||
| Limitaciones: | Limitaciones: | ||
| - | * Si al final de este proceso no existe un "/ | + | * Si al final de este proceso no existe un "/ |
| < | < | ||
| Error response from daemon: open / | Error response from daemon: open / | ||
| Error: failed to start containers: mariadb | Error: failed to start containers: mariadb | ||
| </ | </ | ||
| + | |||
| ^ Sufijo DNS de la red VPN ^ IP del servidor DNS ^ | ^ Sufijo DNS de la red VPN ^ IP del servidor DNS ^ | ||
| Line 87: | Line 88: | ||
| 4. Ahora vamos a crear un archivo de configuracion para la primera VPN: | 4. Ahora vamos a crear un archivo de configuracion para la primera VPN: | ||
| - | sudo vim /etc/resolv.d/example | + | sudo vim /etc/dnsmasq.d/example |
| Y dejarlo asi: | Y dejarlo asi: | ||
| < | < | ||
| - | server=/ | + | server=/ |
| server=/ | server=/ | ||
| # | # | ||
| Line 99: | Line 100: | ||
| Nota: he editado la directiva " | Nota: he editado la directiva " | ||
| - | 5. Reiniciar servicios por si Ascaso: | + | 5. Editar: |
| + | |||
| + | sudo vim / | ||
| + | |||
| + | Con el siguiente contenido: | ||
| + | |||
| + | nameserver 127.0.0.1 | ||
| + | |||
| + | 6. Reiniciar servicios por si Ascaso: | ||
| sudo service NetworkManager restart | sudo service NetworkManager restart | ||
| sudo service openvpn restart | sudo service openvpn restart | ||
| sudo service dnsmasq restart | sudo service dnsmasq restart | ||
| + | |||
informatica/linux/dnsmasq.1476435219.txt.gz · Last modified: by javi
