OpenVPN on DDWRT build 24 SP2
Posted: Thu Oct 20, 2011 10:11 pm
Hello, I am trying to configure a VPN so that I can access my home network from work and vice versa as well as the fact that I am just curious. So, I have DD-WRT installed on my Buffalo WRZ-300n-hp router and have been trying to get this configured via various how tos here and at the DD-WRT site. I think that I have followed most recipes to the T but am still not connecting and I am a novice and don't know how to trouble shoot this config. So any help would be appreciated.
----Server config-----
Note that I don't have any firewall configuration and that I have forwarded port 1194 from the gateway to the VPN network.

----OpenVPN status from the router page------

----The client config is as follows-----
client
dev tun
proto udp
remote mydns_hostname 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
cipher BF-CBC 128
comp-lzo
verb 3
-----Client log is-------
Thu Oct 20 16:45:24 2011 OpenVPN 2.2.1 Win32-MSVC++ [SSL] [LZO2] built on Jul 1 2011
Thu Oct 20 16:45:24 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Oct 20 16:45:25 2011 LZO compression initialized
Thu Oct 20 16:45:25 2011 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Thu Oct 20 16:45:25 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Oct 20 16:45:25 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Thu Oct 20 16:45:25 2011 Local Options hash (VER=V4): '41690919'
Thu Oct 20 16:45:25 2011 Expected Remote Options hash (VER=V4): '530fdded'
Thu Oct 20 16:45:25 2011 UDPv4 link local: [undef]
Thu Oct 20 16:45:25 2011 UDPv4 link remote: XX:XXX:XXX:XXX:1194
Thu Oct 20 16:45:25 2011 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Thu Oct 20 16:45:27 2011 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Thu Oct 20 16:45:31 2011 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Also note that I am able to connect via a pptp vpn to this router from outside the LAN.
----Server config-----
Note that I don't have any firewall configuration and that I have forwarded port 1194 from the gateway to the VPN network.
----OpenVPN status from the router page------
----The client config is as follows-----
client
dev tun
proto udp
remote mydns_hostname 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
cipher BF-CBC 128
comp-lzo
verb 3
-----Client log is-------
Thu Oct 20 16:45:24 2011 OpenVPN 2.2.1 Win32-MSVC++ [SSL] [LZO2] built on Jul 1 2011
Thu Oct 20 16:45:24 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Oct 20 16:45:25 2011 LZO compression initialized
Thu Oct 20 16:45:25 2011 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Thu Oct 20 16:45:25 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Oct 20 16:45:25 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Thu Oct 20 16:45:25 2011 Local Options hash (VER=V4): '41690919'
Thu Oct 20 16:45:25 2011 Expected Remote Options hash (VER=V4): '530fdded'
Thu Oct 20 16:45:25 2011 UDPv4 link local: [undef]
Thu Oct 20 16:45:25 2011 UDPv4 link remote: XX:XXX:XXX:XXX:1194
Thu Oct 20 16:45:25 2011 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Thu Oct 20 16:45:27 2011 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Thu Oct 20 16:45:31 2011 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Also note that I am able to connect via a pptp vpn to this router from outside the LAN.