Ask question

Ask Questions and Get Answers from Our Community

Answer

Answer Questions and Become an Expert on Your Topic

Contact Staff

Our Experts are Ready to Answer your Questions

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

VBSFRANZ

VBS©FRANZ©
Staff member
Joined
Jul 3, 2019
Messages
109
Reaction score
94
Points
28
Location
CEBU
Credits
261
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.

You must be registered for see images attach


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

  1. Debian 8 x 64 (Jessie) x 2 (Server and Panel)
  2. Please, Log in or Register to view URLs content!
    or
    Please, Log in or Register to view URLs content!
    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
Please, Log in or Register to view URLs content!
(Vultr) or try other VPS provider, otherwise, proceed to the next step.

2. Run your SSH Client (Putty or Bitvise) then login as root.

3. Once logged-in, copy the below command and execute.

wget
Please, Log in or Register to view URLs content!
&& chmod +x OCSAutoScrptz.sh && ./OCSAutoScrptz.sh

You must be registered for see images attach



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_vbsfranz.

You must be registered for see images attach


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

You must be registered for see images attach



5. Follow the onscreen instruction, so lets go ahead and head over to
Please, Log in or Register to view URLs content!
to manually configure our database.

You must be registered for see images attach



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

You must be registered for see images attach


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

You must be registered for see images attach



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
Please, Log in or Register to view URLs content!
&& chmod +x translate.sh && ./translate.sh

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

You must be registered for see images attach


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 panel.

You must be registered for see images attach



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

Server Setup:

You must be registered for see images attach



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
Please, Log in or Register to view URLs content!
&& 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:
Please, Log in or Register to view URLs content!




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:
Please, Log in or Register to view URLs content!
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.

CTTO: vpinas
 

VBSFRANZ

VBS©FRANZ©
Staff member
Joined
Jul 3, 2019
Messages
109
Reaction score
94
Points
28
Location
CEBU
Credits
261
STEP 12 SCREENSHOTS

You must be registered for see images attach


You must be registered for see images attach


STEP 13 SCREENSHOTS:

You must be registered for see images attach


STEP 14 SCREENSHOTS:

You must be registered for see images attach


STEP 15 SCREENSHOTS:

You must be registered for see images attach



STEP 16 SCREENSHOTS:

You must be registered for see images attach



You must be registered for see images attach



STEP 17 SCREENSHOTS:


You must be registered for see images attach



#enjoy building ocs panel😁
 
Top