Hola compañeros

Os dejo un manual para una VPN en vuestro vu.

Pronto comentan desde el foro de vti que se podra hacer directamente descargandolo desde la imagen, para los impacientes pueden probar lo siguiente:


I have tried to install the packages directly by VTi server:

update the archives list

Code:
# ipkg update
find the right packages

Code:
bm750:~# ipkg list | grep openvpn
openvpn - 2.0.9+2.1rc20-r0 - A full-featured SSL VPN solution via tun device.
openvpn-dbg - 2.0.9+2.1rc20-r0 - A full-featured SSL VPN solution via tun device.
openvpn-dev - 2.0.9+2.1rc20-r0 - A full-featured SSL VPN solution via tun device.
openvpn-doc - 2.0.9+2.1rc20-r0 - A full-featured SSL VPN solution via tun device.
install the needed packages:

Code:
bm750:~# ipkg install openvpn openvpn-dbg openvpn-dev openvpn-doc
rebooted the box, putted the right needed conf and certs:

configuration file in:

Code:
/etc/openvpn/client.conf
certs and key in:

Code:
/etc/openvpn/****/
manually started openvpn executable (that load the tun module)

Code:
bm750:~# openvpn --config /etc/openvpn/client.conf
in other terminal shell:

Code:
bm750:~# ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:1D:EC:01:58:1B  
          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:831 errors:0 dropped:0 overruns:0 frame:0
          TX packets:669 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:92489 (90.3 KiB)  TX bytes:91948 (89.7 KiB)
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.x.x.30  P-t-P:10.x.x.29  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
and test it with ping to the my openvpn server.
Code:
bm750:~# ping 10.x.x.1
PING 10.x.x.1 (10.x.x.1): 56 data bytes
64 bytes from 10.x.x.1: seq=0 ttl=64 time=3.273 ms
64 bytes from 10.x.x.1: seq=1 ttl=64 time=2.688 ms
64 bytes from 10.x.x.1: seq=2 ttl=64 time=2.646 ms

To run it at startup:
Code:
update-rc.d openvpn defaults