Thank you for the reply..
I noted the throughput(running iperf) with "simpletun" tunnel. Bur unfortunatley the results are non productive. The maximum throughput I get was 1 Mbps and simpletun is not using morethan 5-6 % of the cpu.
I think the following details might be useful:
Here are the shared library info about both normal(my fefora's openvpn which is givibg around 60Mbps with iperf) and cross compiled versions:
Fedora:
[root@localhost keys]# ldd /usr/local/sbin/openvpn
linux-gate.so.1 => (0x00dd3000)
libselinux.so.1 => /lib/libselinux.so.1 (0x003d3000)
libpkcs11-helper.so.1 => /usr/lib/libpkcs11-helper.so.1 (0x003f3000)
libssl.so.10 => /usr/lib/libssl.so.10 (0x00c75000)
libcrypto.so.10 => /usr/lib/libcrypto.so.10 (0x009b7000)
liblzo2.so.2 => /usr/lib/liblzo2.so.2 (0x00387000)
libdl.so.2 => /lib/libdl.so.2 (0x00363000)
libpthread.so.0 => /lib/libpthread.so.0 (0x0036a000)
libc.so.6 => /lib/libc.so.6 (0x001d5000)
/lib/ld-linux.so.2 (0x001af000)
libz.so.1 => /lib/libz.so.1 (0x003b3000)
libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x00c45000)
libkrb5.so.3 => /lib/libkrb5.so.3 (0x00b7f000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00b48000)
libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x00b4d000)
libresolv.so.2 => /lib/libresolv.so.2 (0x004f5000)
libkrb5support.so.0 => /lib/libkrb5support.so.0 (0x00c3a000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00b7a000)
Cross compiled(I did eu-readelf):
NEEDED Shared library: [libcrypto.so]
NEEDED Shared library: [libssl.so]
NEEDED Shared library: [libdl.so.2]
NEEDED Shared library: [librt.so.1]
NEEDED Shared library: [libc.so.6]
I can see kerberos part is missing in the cross compiled verison, but it's statically linked with openssl .so's
Thanks