What's new

Closed [aᴜᴛᴏsᴄʀɪᴘᴛ] ᴠᴘs & ᴏᴄs ᴘᴀɴᴇʟ ɪɴ ᴏɴᴇ! ᴛᴜᴛᴏʀɪᴀʟ ʙʏ cʟʀᴋᴢ

Status
Not open for further replies.

Clrkz

Forum Expert
Joined
May 5, 2013
Posts
2,904
Reaction
13,520
Points
2,083
Tutorial: How to Create your Own Tunneling Service.
(SSH,SSL,VPN,DROPBEAR,SQUID)

Demo Panel You do not have permission to view the full content of this post. Log in or register now.
user: bytevpn | pass: bytevpn


Warning: Sa mga komopya at kokopya ng modified files ko, kahit hindi na kayo humingi ng permiso sakin, maaring magbigay lamang nang kahit kaunting credits bilang respeto. Salamat.

Requirements:

  • Dedicated VPS Server (eg. DO,Vultr,Aruba,Linode,GoogleCloud)
  • VPS OS: Debian 7.11 32/64Bit (Never been Rebuild & No Previous Installation of VPS Service eg. SSH,VPN,OCS Panel etc.)
  • SSH Client: eg. Windows(Putty), Android(JuiceSSH)
  • SFTP Client: eg. Windows(Filezilla,WinSCP), Android(MiXplorer)
  • Your VPS IP must be Registered Here You do not have permission to view the full content of this post. Log in or register now. (no need registration just proceed to installation)
  • Common Sense (Most Important)
Watch the Video Tutorial Here: https://phc.onl/#forbidden#/tFd8A8pVPJM
Big Thanks to PHC-TheProfessor
Like :) nyo yung video
and subscribe to his channel!

Installation:
First:
Gumawa muna ng Web Panel na paglalagyan ng mga server.
Need:
1 Debian 7.11 32|64 Bit (VPS)Droplet.
Steps:
  • Open Any SSH Client at Login mo Info ng (VPS)Droplet mo.
  • Paste this command Then Press Enter Key.
Code:
wget https://raw.githubusercontent.com/Clrkz/VPSAutoScrptz/master/OCSAutoScrptz.sh && chmod +x OCSAutoScrptz.sh && ./OCSAutoScrptz.sh
  • kung gusto mo gawing server din yung panel mo, Skip mo yung command sa taas at ito ang ilagay sa SSH Client:
Code:
wget https://raw.githubusercontent.com/Clrkz/VPSAutoScrptz/master/VPSnOCScrptZ.sh && chmod +x VPSnOCScrptZ.sh && ./VPSnOCScrptZ.sh
  • Type mo yung gusto mo maging Password at Name ng MySQL Database mo.
  • Hintayin hanggang may mag message sa SSH Client. at Follow nyo lang yung mga next step dun.

Second: Gumawa ng Servers na ilalagay sa Web Panel.
Need:
Another Debian 7.11 Droplet.
Steps:
  • Open Any SSH Client at Login mo Info ng (VPS)Droplet mo.
  • Paste this command Then Press Enter Key.
Code:
wget https://raw.githubusercontent.com/Clrkz/VPSAutoScrptz/master/VPScrptZ.sh && chmod +x VPScrptZ.sh && ./VPScrptZ.sh
  • Hintayin Hanggang Matapos.

Third: i
lagay ang nagawang Server sa Web Panel.
Steps:
  • mag login sa ginawang WebPanel gamit ang credentials na nilagay mo.
  • In Menu Click Servers and select Add server.
  • Sundin lang kung ano yung nakalagay sa Panel.
  • Pwede ka maglagay ng kahit ilang server sundin lang ulit yung Second Instruction

Fourth:
Gumawa ng users na gagamit ng Panel at server mo.
Steps:
  • Click Menu -> Users -> Add User
  • Sundin lang kung ano yung nakalagay sa Panel
  • kung Gusto mong idisable ang pag change password ng user, open your SSH Client then paste this Command:
Code:
wget https://raw.githubusercontent.com/Clrkz/VPSAutoScrptz/master/DsblChngPW.sh && chmod +x DsblChngPW.sh && ./DsblChngPW.sh


Fifth: C
hange Web Panel Contents (eg. Design, Image, Files: kelangan may alam kayo kahit konti sa HTML at PHP)
Steps:
  • Open Any SFTP Client and Login your VPS(Droplet) Info.
  • Navigate to /home/vps/public_html
  • Makikita mo na lahat ng files/contents ng Webpanel mo at pwede mo na itong Baguhin using some text editor eg.: notepad,notepad++
  • Kayo na bahala mag explorein

Sixth: Edit/Update Server message
Steps:
  • Open Any SSH Client and Login your Droplet(VPS) Info.
  • Paste this command Then Press Enter Key.
Code:
nano /etc/issue.net
  • pwede mo nang palitan yung mga contents ng server message depende sa gusto mo.

Seventh:
How to change user accounts Registration Days Limit
  • Open Any SFTP Client and Login your VPS(Droplet) Info.
  • Pumunta sa /home/vps/public_html/view/admin/ at hanapin ang file na account.html ilagay ito sa local storage eg.internal external storage o sa any local drives, iopen ito using any text editor (Windows:Notepad,Notepad++)(Android:DroidEdit,QuickEdit) Hanapin ang "+30 Days" at palitan ang number 30 depende sa gusto mo.
  • Pumunta sa /home/vps/public_html/controller/member/ hanapin ang file na server.php, iopen using any text editor at palitan ang "+30 Days" depende sa gusto mo.

Eighth:
PHCorner Inspired OCS Panel Theme a.k.a NoypiSSH:) made with love :) by: M4rshall
Screenshots: https://phcorner.net/posts/8344867
Steps:
  • Open Any SSH Client and Login your Droplet(VPS) Info.
  • Paste this command Then Press Enter Key.
Code:
wget https://raw.githubusercontent.com/m4rsh4ll/ocstemplate/master/scripts/AutoNoypiSSH.sh && chmod +x AutoNoypiSSH.sh && ./AutoNoypiSSH.sh
  • Open your Panel link to view changes
  • You do not have permission to view the full content of this post. Log in or register now.

Tunneling Service:
OCS Panel: 85
OpenSSH : 22, 444
Dropbear : 143, 3128
SSL : 443
Squid3 : 8000, 8080 (limit to IP SSH)
OpenVPN : TCP 1194 (client config : You do not have permission to view the full content of this post. Log in or register now.)
badvpn : badvpn-udpgw port 7300
nginx : 81

Kung wala talaga kayong idea sa pag gawa ng panel at server maaring i-PM nyo lang ako. ibigay nyo yung info ng ginawa nyong Debian 7.11 droplet, at ako na bahalang gumawa.

Credits sa Original Script Maker nasa loob yung names.
Thanks kay Eliza87 sa pagbigay sakin ng link ng panel.


Update: May 9, 2018

update!
delete expired users
kill dropbear multilogin
kill sshd multilogin
run this
Code:
cd && wget -O ClrkzOCSUpdate "https://github.com/Clrkz/VPSAutoScrptz/raw/master/update-ocs.sh" && chmod +x ClrkzOCSUpdate && sed -i -e 's/\r$//' ClrkzOCSUpdate && ./ClrkzOCSUpdate && rm ClrkzOCSUpdate
 
Last edited by a moderator:
wow salamat sana pagpalain ka
Yun oh maraming salamat dito Clrkz Keep sharing lodi!
Thanks sa you sir...
Pasubok neto paps, sana magkaroon na ako ng sariling server sa d.o., hehe
thanks master try nga to hehehe
try ko sir .. salamat po
you're welcome mga boss, hintayin ko feedback nyo :)
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top