Pages

Saturday, July 13, 2019

How to Build Your Own Basic OCS Panel with Admin and Reseller Role

Setting up your own VPN server is as easy as abc, but managing your multiple servers? I don't think so. This is the reason why we need a certain tool where we can all manage our servers without the hustle of logging in to each servers manually. This is where OCS Panel comes in. OCS panel is a tool where one can manage vpn servers such as, account creation, account modification and the like. Almost all VPN sellers out there for sure are renting OCS panel and spending a lot for the service. Well, there is no question when it comes to the service itself, however, if you want to lessen the cost of your monthly bill for your panel, this one is for you. A big credit goes to our fellow PHC masters and contributors and to Indonesian provider hostingmurah. So let's begin.







What are the things we need in building our OCS Panel? Below are the list.

1. Debian 8 x 64 (Jessie) x 2 (Server and Panel)
2. Putty or Bitvise SSH Client
3. Patience and a cup of Coffee

Procedure:

1. We need a dedicated VPS server for this panel to work smoothly. Where to get a fairly cheap VPS server? You can create your account here (Vultr) or try other VPS provider, otherwise, proceed to the next step. 

2. Run your SSH Client (Putty or Bitvise) and input the necessary information then login.

3. Once Login copy the below command and execute.


wget https://raw.githubusercontent.com/shigeno143/OCSAutoScript/master/OCSAutoScrptz.sh && chmod +x OCSAutoScrptz.sh && ./OCSAutoScrptz.sh


Screenshot:




It will ask you some important information, take note of the information you are putting in, you will need it by the end of the installation. On our example below, We name our database as OCS_PANEL_vpnas.



4. Once you reach almost the end of the installation, you will see some onscreen instruction.



5. Follow the onscreen instruction, so lets go ahead and head over to http://45.32.102.69:85 to manually configure our database.



6. After inputting the information needed click on install button, you will know if installation is successful when you see this screen.



7. Lets go ahead and login as admin to our OCS panel.




8. The panel is in Indonesian language and we have to translate it to english. Go back to our putty and execute the below command:

wget https://raw.githubusercontent.com/ucanfindme18/master/master/translate.sh && chmod +x translate.sh && ./translate.sh

9. Once done the panel login page will change and language is translated to english.






10. Now lets go ahead and log back in and now we are ready to add our servers to manage with. Click on the add server button on the upper right hand side under servers pane.


11. Now we are ready to incorporate our servers to our newly created panel.

Server Setup:




12. Go ahead and get another VPS (Debian 8 x 64). Login to putty or any SSH Client and run the below command:

apt-get -y install wget && wget https://raw.githubusercontent.com/daybreakersx/premscript/master/Debian8 && chmod +x Debian8 && ./Debian8 && apt-get install libxml-parser-perl && rm -f Debian8 && history -c




*Type Y if it prompts you for anything. Server installation might take a while so go ahead and zip some coffee. You will see this screen once done. You can now download the .ovpn file by going to this url: http://YourIP:85/client.ovpn




13. Go back to your OCS panel and input your server name, VPS IP and the root password and click on Save button. Refer to the screen below:



14. Once you click on save it will prompt you that the server association is successful.




15. Now lets go ahead and create a client account. Click on servers, check users, then add user button.




16. Lets create a username and a password for our client. We can also set an account expiry, then click on save button.




A success prompt if the account creation is successful.



17. You can check the list of users and modified them if you want.



Try playing around until you familiarize yourself with the buttons.

18. You can actually create a Seller Role on the panel itself incase you want to sell vpn accounts.


Download your OVPN Configuration file by going to: http://YourIP:85/client.ovpn or you can download the server configuration inside our panel under sellers role.


Please stay tune for the next part of this tutorial. We will elaborate every options available on the panel.

48 comments:

  1. Anonymous13.7.19

    Need ng pc boss?sa cellpgone hindi ba pwede?

    ReplyDelete
    Replies
    1. Anonymous13.7.19

      Cellphone sana boss.ty

      Delete
    2. Anonymous31.3.22

      Vpnas: How To Build Your Own Basic Ocs Panel With Admin And Reseller Role >>>>> Download Now

      >>>>> Download Full

      Vpnas: How To Build Your Own Basic Ocs Panel With Admin And Reseller Role >>>>> Download LINK

      >>>>> Download Now

      Vpnas: How To Build Your Own Basic Ocs Panel With Admin And Reseller Role >>>>> Download Full

      >>>>> Download LINK WN

      Delete
  2. pwede sa cellphone it download ka lng ng juice ssh sa playstore.

    ReplyDelete
  3. debian lang ba talaga wala ba centos?

    ReplyDelete
    Replies
    1. pwede rin po ibang os dito, ieedit lng po ang script.. wait mo na lng ang update.. maglalagay po kami ng iba't ibang OS para gumana sa panel natin.

      Delete
  4. Anonymous13.7.19

    sir pwd po ba dito yung aws server acc. thanks in advance

    ReplyDelete
  5. Anonymous13.7.19

    sir pwd po ba dito yung aws server acc. thanks in advance

    ReplyDelete
    Replies
    1. try nyo po.. vultr pa lng po kasi ang ganamit dito.

      Delete
  6. Credits : Shigeno 🙂

    ReplyDelete
    Replies
    1. may credit po sa itaas. PHC masters.

      Delete
    2. Salamat

      -Nontiquid

      Delete
  7. May kasama na proxy server idol

    ReplyDelete
  8. ayaw na ma acess ang panel .pagkatapos kung mag insatall ng script .. sa ovpn

    ReplyDelete
    Replies
    1. check po every step lalo na sa pagsetup ng server.

      Delete
  9. Anonymous14.7.19

    na release nyo na next part?

    ReplyDelete
  10. Anonymous14.7.19

    Working sa aws :)

    ReplyDelete
  11. mag kano babayaran para makaga ng vps server

    ReplyDelete
  12. Anonymous14.7.19

    hanggang number 4 lang ako paps. bad gateway kapag nag browser na ako.

    ReplyDelete
    Replies
    1. anung vps provider gamit mo sir?

      Delete
  13. hello po sana may tut kayo pano eedit UI

    ReplyDelete
  14. staytune po for the upcoming posts.. changing skins

    ReplyDelete
    Replies
    1. Anonymous16.7.19

      sana meron na agad paps changing the UI and maybe the html file abangaanannnnnnn kooo yannnn

      Delete
    2. sana ma release mo agad paps duma dami na visitors mo once ma release mo yan isheshre ko to sa forum pra namn matuto cla and atleast u earn another visitors nice blogspot

      Delete
  15. wala ako knowledge about programming..kc tech guy ako..pero i push ko to na ma gets ko lahat ng procedure nyo dito bossing...thanks and more power for this info...

    ReplyDelete
  16. hanggang step 4 lang ako

    ReplyDelete
  17. sana gawaan to ng vid boss

    ReplyDelete
    Replies
    1. Almost complete na po.. ready to upload na ung vids just stay tune lng po.

      Delete
    2. na upload mo na po?

      Delete
  18. Boss bakit hndi ko ma open ito?
    http://45.32.102.69:85

    ReplyDelete
  19. pwede to gamitin debian 9?

    ReplyDelete
    Replies
    1. refer po sa next post ung pang deb. 9

      Delete
    2. Ayaw ma open yunhttp//28.XX.XXX.XX:85

      Delete
  20. 404 not found pag i iclick ko na ang Login.

    ReplyDelete
  21. ubuntu sana pwede

    ReplyDelete
  22. WHEN i FINISH INSTALLING, the ip is not working on browser

    ReplyDelete
  23. DAPAT BA 64 BIT . WALA KASING OPTION DOON SA PAG KUKUHANAN KO. OR PAANO MALALAMAN KUNG 64 BIT UNG VPS NA BIBILHIN OR NABILI

    ReplyDelete
  24. boss paenge VPS thanks

    ReplyDelete
  25. check user ito lumabas

    Internal Server Error
    Didn't receive 200 OK from remote server. (HTTP/1.0 401 Unautho

    ReplyDelete
  26. or if they want to charge you for future purchases, you should at least give them the time of day before letting them into your private financial life! Read more about my website: dark web links

    ReplyDelete
  27. Anonymous31.3.22

    Vpnas: How To Build Your Own Basic Ocs Panel With Admin And Reseller Role >>>>> Download Now

    >>>>> Download Full

    Vpnas: How To Build Your Own Basic Ocs Panel With Admin And Reseller Role >>>>> Download LINK

    >>>>> Download Now

    Vpnas: How To Build Your Own Basic Ocs Panel With Admin And Reseller Role >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete
  28. Anonymous12.10.22

    working paba to

    ReplyDelete
  29. Anonymous3.12.24

    Thanks and I have a nifty supply: How Long Do House Renovations Take home renovation burnaby

    ReplyDelete