VPN for Elastix

Discussion in 'General' started by torontob, Feb 18, 2009.

  1. torontob

    Joined:
    May 18, 2008
    Messages:
    219
    Likes Received:
    0
    Hello All,

    I thought I should open a new thread for VPN since the original thread of security is getting really too long and we have a whole Security forum now so why not break things down.

    Has anyone got OpenVPN or any other working with Elastix? It seems to be just tooooooooooooooooooooooooo much work to do the configs and specially if one wants to tunnel through a MS OS.

    Regards,
     
  2. Chilling_Silence

    Joined:
    Sep 23, 2008
    Messages:
    488
    Likes Received:
    0
    Its actually incredibly easy to follow the instructions on the OpenVPN HowTo website.

    Yes its riddled with a truckload of other information thats kind of irrelevant, but still.

    There's also a trimmed-down HowTo somewhere for setting up a DD-WRT Router with the -vpn firmware build as a server / client which also works incredibly well if you're doing remote endpoints like ATAs!

    When you ignore all the documentation fluff, its only like 15 commands to do the whole thing, I should see about writing one some day ...
     
  3. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
  4. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    First you must learn how OpenVPN works, and some VPN concepts too.
    At their website you have very nice documentation.

    Next you can install OpenVPN easily:

    Code:
    cd /usr/src/
    rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
    wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
    rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
    yum check-update
    yum install -y openvpn
    mv /etc/yum.repos.d/rpmforge.repo /etc/yum.repos.d/rpmforge.repo.backup
    sed "s/enabled=1/enabled=0/g" /etc/yum.repos.d/rpmforge.repo.backup > /etc/yum.repos.d/rpmforge.repo
    chkconfig openvpn on
    /etc/init.d/openvpn start
    
    Or maybe you prefer compiling it from source.

    If you don't like console and conf files you can use Webmin OPenVPN module.
    And for Windows clients you can use OpenVPN gui, it works great.
    It is quite easy once you configure your first working vpn.
     
  5. Chilling_Silence

    Joined:
    Sep 23, 2008
    Messages:
    488
    Likes Received:
    0
    Yeah as ramoncio said once you've done one, you can do a hundred!

    Definitely worth learning a bit about VPN's, how they work etc, it'll help lots when things dont go 100%
     
  6. aerodesliza

    Joined:
    Apr 11, 2010
    Messages:
    206
    Likes Received:
    0
    You can use Hamachi too, I remember I have some installation guide PM and i will send the wiki
     

Share This Page