OpenVPN via DD-WRT

Posted by user140491 on Server Fault See other posts from Server Fault or by user140491
Published on 2012-10-10T20:39:31Z Indexed on 2012/10/10 21:40 UTC
Read the original article Hit count: 707

Filed under:
|
|

I am using DD-WRT with my Buffalo G300NH. I notice in my log files:

Wed Oct 10 01:08:25 2012 us=343000 Cannot open /tmp/openvpn/dh.pem for DH parameters: error:02001003:system library:fopen:No such process: error:2006D080:BIO routines:BIO_new_file:no such file

I have looked at other answers regarding this error. I have tried to no avail. 755 are chmod rights to /tmp/openvpn. At this point, I can not connect outside my LAN via OpenVPN. My server config looks like this:

#mode server
#tls-server

push "route 192.168.11.1 255.255.255.0"
push "dhcp-option DNS 10.8.0.1"
server 10.8.0.0 255.255.255.0

port 1194
proto udp
dev tun0
ifconfig 10.8.0.1 10.8.0.2
#secret /tmp/static.key

ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
dh /tmp/openvpn/dh.pem

keepalive 10 120
comp-lzo
persist-key
persist-tun
verb 5

management localhost 5001

Can someone, knowledgeable, of this error kindly help? i have been going on several days, trying to sort it out. I like all nighters though!!

© Server Fault or respective owner

Related posts about openvpn

Related posts about dd-wrt