Articulo Original, funciono sin problemas únicamente retirar las comillas
ifconfig-push "192.168.1.80 255.255.255.0"
y debe quedar así ifconfig-push 192.168.1.80 255.255.255.0
Fuente: http://www.efwsupport.com/index.php?action=printpage;topic=2989.0
First, open your OpenVPN config template and allow the server to search for a client configuration directory.
nano /etc/openvpn/openvpn.conf.tmpl
Remove the ; character before ";client-config-dir clients"
Ctrl-O to write out the file and Ctrl-X to Exit Nano.
Now, create a file the exact name as the user you have configured in the OpenVPN gui in the /var/openvpn/clients directory. There is no extension.
nano /var/openvpn/clients/EnterUserName
In this file, add the following lines adapted to your specific network configuration:
ifconfig-push "192.168.1.80 255.255.255.0"
push "redirect-gateway def1"
push "dhcp-option DNS 192.168.1.1"
Then Ctrl-O to write out the file and Ctrl-X to Exit Nano.
Restart OpenVPN server.
No hay comentarios:
Publicar un comentario