Posted: Thu Sep 19, 2013 1:13 Post subject: OpenVPN not working on build 14929??
Hello,
I have been unable to get the OpenVPN to work on DD-WRT v24-sp2 (08/12/10) vpn build 14929. I have tried it on two different wrt54gl routers. When the OpenVPN daemon is started in the web gui, the service never actually starts. I can check by running "ps | grep vpn".
Is there any way to use this method without the site to site configuration? I only want to set this up for one remote laptop to connect to the router.
Sure! Just adjust the openvpn commands on the router to set it up as a server. The download openvpn to your PC and setup the ovpn-file for client mode. Don't forget to setup a firewall rule on the router
Can you edit the following configs for use in a client/server setup? I'm not sure what to do. I'm assuming the client config would be on the client machine, not in the router config, so some of those lines should be edited out.
Code:
# Move to writable directory and create scripts
cd /tmp
ln -s /usr/sbin/openvpn /tmp/myvpn
# Config for Client
echo "
remote
proto udp
port 1194
dev tun0
secret /tmp/static.key
verb 3
comp-lzo
keepalive 15 60
daemon
" > Client
The output from the 'PS' command shows that openvpn is running. Take a look at this link for example configurations or search for 'openvpn' on dd-wrt for a suitable configuration:
@MrFidget
hello, I also use v15962 and I cant config OpenVPN server.
Can you please post your configuration of openvpn server, firewall rules if they are necessary and client config file. I'm totaly lost...
This is the build that I run on WRT54GL v1.1 -- DD-WRT v24-sp2 (04/07/12) vpn-small (SVN revision 18946M NEWD Eko)
I have not tried OpenVPN, only use it as a Repeater, but it's been working fine for 11 months. I also telnet --> erase nvram --> webgui upgrade --> erase nvram every time I upgrade the firmware. _________________ WRT54GL v1.1 - DD-WRT v24-sp2 (04/07/12) vpn-small (SVN revision 18946M NEWD Eko)
WZR-HP-AG300H - DD-WRT v3.0-r30082 std (07/01/16)
I just had my router go south on me. Had to 30-30-30 after 12 months trouble free. Third one this week. Something got munched in the NVRAM.
I may have left something out like the dhcp options for the laptop client. I'll fix those up when I get a chance. The config backup I had was a bit old.