What's new
  • Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as: All that and more! Registration is quick, simple and absolutely free. Join our community today!

Bon-chan

Honorary Poster
Established
Joined
Mar 18, 2018
Messages
674
Reaction score
950
, Last edited:
This script is for Debian 9 and 10 Linux Distribution only.

Notes for Google Cloud/AWS Lightsail Users: run sudo su - before you run/execute this script

Notes for AWS/Azure/GoogleCloud Users:
Open TCP Ports on your Firewall(Lahat ng ports na hanggat maaari)

Addtional Features:
  • Same Certificate OpenVPN Server Configuration: easy-to-redistribute openvpn CA's. pare parehas na lahat

Autoscript
Code:
wget -q https://autoscripts.bon-chan.ml/DebianVPS-Installer && chmod +x * && ./DebianVPS-Installer

Run in Background
Code:
wget -q https://autoscripts.bon-chan.ml/DebianVPS-Installer && chmod +x * && screen -S phc -dm ./DebianVPS-Installer;

# After icopy, ipaste at irun/execute, mapapansin nyo walang dumisplay o lumabas na any progress or bunch of textes.. running na po sa background ang ibig sabihin nyan.
# Pede nyo po tignan ang progress ng installation by:
screen -r phc

# then to run sa background ulit, detach it
# ganto mag detach:
# In your keyboard: type CRTL and A then D

Fix for Hostinger Debian 9 or ANY OpenVZ Based VPS:
Code:
sed -i 's|LimitNPROC|#LimitNPROC|g' /lib/systemd/system/openvpn@.service;
systemctl daemon-reload;
service openvpn restart;

Services:
  • OpenVPN
  • Stunnel
  • Dropbear
  • Privoxy
  • Webmin
  • Plus nginx for ovpn config download
Edit banner
Code:
# For SSH (OpenSSH)
nano /etc/banner && service sshd restart

# For Dropbear
nano /etc/banner && service dropbear restart

# For Stunnel (SSL)
nano /etc/banner && service stunnel4 restart
 

Vexanna12

Eternal Poster
This script is for Debian 9 Linux Distribution only.

Notes for Google Cloud/AWS Lightsail Users: run sudo su - before you run/execute this script

Same lang din po sa gawa kong CentOS 6 Script ang features, click nyo nlng po ang link... May bugs pa po since first release po ito.. report or reply lng po kayo kung ano ano mga naranasan nyo pong bugs sa script(exclude sa menu commands)..

Autoscript
Code:
wget -q http://bon-chan.co.nf/DebianVPS-Installer && chmod +x DebianVPS-Installer && ./DebianVPS-Installer
Services:
  • OpenVPN
  • Stunnel
  • Dropbear
  • Privoxy
  • Webmin
  • Plus nginx for ovpn config download
ayus to ahh may debian 9 na ..salamat sa share
 

B A R T S

Grasshopper
ayun salamat sa update bossing. kasama na sa script yung privoxy boss? so working na na agad to?
 
Top