Comments on: Adding OpenVPN to dd-wrt mini /2011/08/30/adding-openvpn-to-dd-wrt-mini A collection of note-to-self's Sun, 24 Mar 2019 23:04:45 +0000 hourly 1 https://wordpress.org/?v=5.1.1 By: HMkX2 /2011/08/30/adding-openvpn-to-dd-wrt-mini/comment-page-1#comment-80145 Sun, 29 Jul 2012 01:18:56 +0000 http://blog.dest-unreach.be/?p=2105#comment-80145 Hey, I actually have a similar problem to this.

I actually took the opportunity to type up everything on DD-wrt’s forums – with attribution, of course. I wanted to let you know how to fix a couple issues with OpenVPN – and possibly OPKG

1) The Kamikaze 2.4 packages you used are rather old and outdated, but Trunk packages use kernel 3.3 – too new for Eko’s DD-wrt 2.6 builds. By cannibalizing DD-WRT’s standalone binaries, you can upgrade to OpenVPN 2.2.1 rather easily while using less space.

(Ignore that – while typing I found what lib was crashing and found a way to install the most up-to-date packages, including OpenVPN 2.2.2!!)

2) OpenVPN on DD-wrt is notorious for being inaccessible on its external IP from inside the LAN. (I run multiple NAT’ed networks, and sometimes want to hop across them.) I found a way to fix that via IPTables rules, which I posted above. In the process I also discovered a bug in OpenVPN XP 2.3 alpha’s routing protocols.
3) OPKG is rather tricky to get going, but I have gotten the hang of it and even have some config files/quick-configs handy. I was getting Segmentation Faults earlier, but now have the ‘Attitude Adjustment’ trunk OpenVPN build working!. I’ve included the “quick setup” script (for brcm47xx – 320N, 610N, etc) below – I frequently wipe, so these come incredibly handy
4) A recommendation for an Windows OpenVPN client – tunXten – it is commercial/free-lite, but seems to be the most aesthetically pleasing. The ‘OpenVPN MI GUI’ seems to be the most admin-friendly.

Usage: Edit your USB mount location into “Ramirez” and “preinstall”. Edit your architecture/download links into “opkg install”. Then dump them all in the same folder, chmod +x *.sh, and let Ramirez do… everything.

– -HMkX2.Core

]]>