On Fri, Sep 3, 2010 at 6:59 PM, Rino Rondan
<villadalmine@gmail.com> wrote:
Buenas:
Quiero hacer una configuracion host to host con openvpn, bien basica..
Son dos maquinas virtuales, con dos placas en nat.
cat server.conf
dev tun
proto udp
ifconfig 10.8.0.1 10.8.0.2
secret secret.key
port 1194
user nobody
group nobody
complzo
ping 15
verb 4
stationx:/etc/openvpn# cat client.conf
remote 172.16.31.128
port 1194
dev tun
tunmtu 1500
ifconfig 10.8.0.2 10.8.0.1
secret /etc/openvpn/secret.key
complzo
ping 10
verb 4
mute 10
stationx:/etc/openvpn#
Pero al querer inicializar la configuracion me tira el siguiente error.
serverx:/etc/openvpn# openvpn --config /etc/openvpn/server.conf
Options error: Unrecognized option or missing parameter(s) in /etc/openvpn/server.conf:3: ifconfig 10.8.0.1 (2.1_rc11)
Use --help for more information.
serverx:/etc/openvpn#
clientex:/etc/openvpn# /etc/init.d/openvpn start
Starting virtual private network daemon: server tun0 failed!
clientex:/etc/openvpn#
No entiendo que tiene mal la linea del ifconfig, he leido por muchas paginas y todas tienen esa linea asi.
Saludos