I didn't find Openvpn in the stable and unstable feed, so I compiled it.
This is my first ipkg so it is really unstable and please, be tolerant
I tried it on my SL-6000 and it seems to work.
First I've to compile with the --disable-lzo in configure,
because can't find compression library. Any suggestion?
After installed,
# modprobe tun
the following dev and symlink are created
# ls -al /dev/net/tun*
lr-xr-xr-x 1 root root 12 Jul 4 17:57 /dev/net/tun -> misc/net/tun
I don't know if it's a bug, but openvpn didn't work, so I modified:
# ln -s /dev/misc/net/tun /dev/net/tun
Now:
# ls -al /dev/net/tun*
lr-xr-xr-x 1 root root 17 Jul 4 18:08 /dev/net/tun -> /dev/misc/net/tun
and it's ok.
I put conf files in /etc/openvpn and start with /etc/rc.d/init.d/openvpn start.
I make some tests....
tun0 Link encap:Point-to-Point Protocol
inet addr:10.8.0.4 P-t-P:10.8.0.3 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4097 (4.0 Kb) TX bytes:4216 (4.1 Kb)
# ping 10.8.0.3
PING 10.8.0.3 (10.8.0.3): 56 octets data
64 octets from 10.8.0.3: icmp_seq=0 ttl=64 time=9.6 ms
64 octets from 10.8.0.3: icmp_seq=1 ttl=64 time=9.1 ms
....
Max
