Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Openvpn on Centos 6.8 Server with cPanel

Discussion in 'Workarounds and Optimization' started by samuelmf, Dec 11, 2016.

  1. samuelmf

    samuelmf Well-Known Member

    Joined:
    May 22, 2006
    Messages:
    97
    Likes Received:
    3
    Trophy Points:
    158
    Location:
    Perú
    Hi, i have installed openvpn on
    Centos 6.8 Server (Dedicated not vps)
    Cpanel/WHM 60
    CSF Firewall

    I followed this tuto steps unixmen.com/setup-openvpn...nt-centos-6-5/
    All the steps go fine, one by one but when i must use ip tables i have changed to this tutorial, because i dont use iptables

    So i have followed this another tutorial
    grumpyland.com/blog/238/making-csf-work-with-openvpn/

    After that an email arrive to my inbox with the next message
    Code:
    [somesub.somedomain.com] FAILED : cpsrvd (192.168.1.2)
    Notification    The service “cpsrvd” appears to be down.
    Service Check Method    The system failed to connect to this service’s TCP/IP port.
    
    Almost 10 emails arrived me until i commented the lines on the file /etc/csf/csfpre.sh after that i recieved an email with the subject
    Code:
    [somesub.somedomain.com] RECOVERED : cpsrvd (192.168.1.2)
    
    Why?
    And why when i try to start open vpn it shows a red FAILED.
    Thanks in advance
     
    #1 samuelmf, Dec 11, 2016
    Last edited by a moderator: Dec 12, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    There's a guide here you may want to follow:

    georgetasioulis.com/how-to-install-and-configure-pptp-vpn-on-a-cpanel-server/

    The instructions look similar to the URL you provided, but the above URL includes some additional tips in the comments section you may want to try. Also, feel free to vote for the following feature request:

    cPanel VPN server

    Thank you.
     
  3. samuelmf

    samuelmf Well-Known Member

    Joined:
    May 22, 2006
    Messages:
    97
    Likes Received:
    3
    Trophy Points:
    158
    Location:
    Perú
    Thanks my friend, how can i do to unninstall the openvpn?

    How many time will pass until this VPN be implemented on the new releases of cpanel?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You'd need to revert any of the steps you took to complete the installation (E.g. uninstalling the RPMs). There's no decision on that feature request, but by voting you also subscribe to the request so you will see any updates to it should they occur.

    Thank you.
     
Loading...

Share This Page