On Wednesday 30 September 2009 20:20:40 JuanJo Ciarlante wrote:
> Could you please copy me the the exact cmdline and context (inetd?)
> you are using in both cases?, also if there's any extra patch applied, etc.

/usr/sbin/openvpn --config /etc/openvpn/tcp.conf --writepid 
/var/run/openvpn.tcp.pid --daemon --setenv 
SVCNAME openvpn.tcp --cd /etc/openvpn

/etc/openvpn/tcp.conf:
port 897
proto tcp6-server
dev tap1
server-bridge 192.168.42.253 255.255.255.0 192.168.42.1 192.168.42.200

tls-server
dh /etc/openvpn/files/dh2048.pem
ca /etc/openvpn/files/ca.pem
cert /etc/openvpn/files/cert.pem
key /etc/openvpn/files/key.pem
comp-lzo
client-to-client
client-config-dir /etc/openvpn/clients
persist-tun
persist-key
keepalive 10 120
script-security 2
user nobody
group nogroup
verb 3

patch applied from gentoo ebuild:
--- socket.c~   2008-11-02 01:39:00.406009999 +0100
+++ socket.c    2008-11-02 01:39:00.406009999 +0100
@@ -22,6 +22,7 @@
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */

+#define _GNU_SOURCE
 #include "syshead.h"

 #include "socket.h"

thx,
Marcel

Reply via email to