Page 1 of 1

Installing OpenVPN

Posted: Mon May 12, 2014 6:44 am
by The_Hawk
I'm going totally crazy (or am in need of sleep), but can't for the life of me seem to find any info on either enabling or installing openVPN for Gargoyle

I just upgraded to 1.6.1 tonight and am running on a D-Link DIR-825 rev. B1.

Can someone please point me in the right direction. :S

Re: Installing OpenVPN

Posted: Tue May 13, 2014 6:05 am
by altruizine
I recently managed to install this on a DIR-825 rev B1. It's not straightforward, but doable.

You need the OpenVPN plugin for Gargoyle. If I remember correctly, you cannot install it from the plugins setup page because the standard build does not leave enough room for the /overlay partition. You need to upgrade to a “fat” build, which already includes the OpenVPN plugin. Here's some background. I built my own fat sysupgrade image from the sources (make FULL_BUILD=true ar71xx.usb); maybe you can download a build from elsewhere (perhaps one of ispyisail's builds – see linked post), I haven't tried any.

Unfortunately, you currently cannot upgrade to a fat image from Gargoyle directly; the upgrade image is too large for the partitions the non-fat system defines. The workaround is a two step-upgrade via a fat OpenWRT image, as described elsewhere on this forum. I downloaded a recent Attitude Ajustment openwrt-ar71xx-generic-dir-825-b1-fat-squashfs-sysupgrade.bin from the OpenWRT site for this job. (Make sure you follow that post's advice about not preserving the configuration during upgrade or you'll end up with a broken configuration.)

A word of warning: The Gargoyle fat image has an even smaller /overlay partition. However, it comes preinstalled with the OpenVPN, USB storage, and USB Printer plugins.

Re: Installing OpenVPN

Posted: Tue May 13, 2014 7:10 am
by The_Hawk
Thanks for that, it sounds like something I should sit down and dedicate some reading time too.

The next question is is it worth it? When I have a Mac Mini Server sitting on the network performing server duties anyway, do I just port forward and get it to run the VPN software for me instead??

Re: Installing OpenVPN

Posted: Tue May 13, 2014 7:39 am
by altruizine
I cannot comment on the Mac Mini solution. For me, enabling Gargoyle for OpenVPN was worth the trouble, because setting up OpenVPN through the Gargoyle web interface was extremely straightforward, and with the downloadable client configurations Gargoyle provides, setting up my mobile Android and Linux devices was a breeze as well.