Installing Pritunl

Discussion in 'Server Operation' started by tfboy, Oct 9, 2016.

  1. tfboy

    tfboy Member

    I've been looking at running an easy-to-use VPN solution and pritunl seems like a good option.
    I don't understand exactly how to configure it to work with my server. I understand it uses MongoDB but what's not clear to me is the web server side. I've briefly looked at the documentation, but ccannot understand how the http UI works.
    My server is running Ubuntu 14.04 LTS, and I have ISP config running and a few other services like JIRA behind Tomcat.
    Having installed pritunl, I can't access the page at https://<server>:9700. I'm wondering if that's because the backend appears to use 443 which is already in use by Apache.
    I've added the iptables exemptions so 9700 should be accessible, but I don't get any response.
    Mongodb is running OK, however, I'm not so sure about pritunl.
    ~$ service --status-all
     [ + ]  apache2
     [ + ]  pritunl
    but a "ps -ef |grep pritunl" gives nothing.
    Any ideas where to start looking?
  2. tfboy

    tfboy Member

    OK, I was half right.
    Turns our there was a web service running or trying to run on port 80 which was clashing with Apache. The issue is I can't see how to change that or disable it. There is a command in pritunl to do that: "pritunl set app.redirect_server false" but pritunl has to be running for that command to work!
    In the end, I stopped Apache so I coudl start pritunl to run the command. I also took the opportunity to change the https port to something other than 443 in the web GUI. Once that was done, I stopped pritunl, restart apache2 then restarted pritunl, and now both seem to cohabit side by side OK. :)

Share This Page