From: Darrick H. <dha...@dj...> - 2007-05-04 14:58:38
|
Lonnie Abelbeck wrote: > Gary, > > On May 4, 2007, at 8:46 AM, Gary G. Hendershot wrote: > >> I could use some instruction on how to properly setup OpenVPN within >> Astlinux ... I have some pretty decent cookie cutter "step 1, step 2" >> type things for OpenVPN in general but nothing specific to the way it >> is implemented in Astlinux ... is there such a document out there >> ??? anybody got a link to it ??? > > I have had great success using AstLinux 0.4.5 as an OpenVPN server. I > run in single interface mode (PBX-only). > > The basic HowTo is at the general OpenVPN site: > http://openvpn.net/howto.html > > copy the /stat/etc/openvpn directory and contents to to /mnt/kd/openvpn > > Set in rc.conf: > VPN=openvpn > > IMHO, don't use (leave commented out) the rc.conf openvpn variables, > but rather configure by editing /mnt/kd/openvpn/openvpn.conf based on > the the above howto. Enclosed is my working openvpn.conf file for the > server. Lonnie, I forgot that you convinced me to include that option ;) If a statically defined openvpn.conf file is located in /mnt/kd/openvpn then that file will be used (regardless if any of the openvpn variables are defined in rc.conf. if [ -f /mnt/kd/openvpn/openvpn.conf ] then echo "Using OpenVPN config file from keydisk" ln -sf /mnt/kd/openvpn/openvpn.conf /tmp/etc/openvpn.conf else echo "Creating OpenVPN config files" So in Gary's case, he'll want to put a proper client config file in /mnt/kd/openvpn. The specific link on the openvpn page that describes this is here: http://openvpn.net/howto.html#client Make sure you save the file as openvpn.conf You would get the certificates from your pfsense box. Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |