Shadow_Ace

deb9

Mar 19th, 2020 (edited)
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. Debian 9 and 10 Linux Distribution VPS
  2.  
  3. This script is for Debian 9 and 10 Linux Distribution only.
  4.  
  5. Notes for Google Cloud/AWS Lightsail/Azure Users:
  6. * run sudo su - before you run/execute this script.
  7. * Open TCP Ports on your Firewall(Lahat ng ports na hanggat maaari)
  8.  
  9. Deb 9 No load SSH / SSL :
  10. rm -f DebianVPS* && wget -q 'https://raw.githubusercontent.com/Bonveio/BonvScripts/master/DebianVPS-Installer' && chmod +x DebianVPS-Installer && ./DebianVPS-Installer
  11.  
  12.  
  13. Autoscript:
  14. rm -f DebianVPS* && wget -q 'https://raw.githubusercontent.com/Bonveio/BonvScripts/master/DebianVPS-Installer' && chmod +x DebianVPS-Installer && ./DebianVPS-Installer
  15.  
  16. Panel Deb9:
  17. rm -f DebianVPS* && wget -q 'https://raw.githubusercontent.com/Bonveio/BonvScripts/master/DebianOCS-Panel' && chmod +x DebianOCS-Panel && ./DebianOCS-Panel
  18.  
  19. Services:
  20. • OpenVPN (port 110, multilogin-enabled, now working on old openvpn client apps)(with Bonus Sun Noload config for OpenVPN modems only)
  21. • Stunnel (port 443{Dropbear}, 444{OpenSSH} and 587{OpenVPN-SSL})
  22. • Dropbear (port 550 and 555)
  23. • Privoxy (port 8000 and 8080)
  24. • Webmin (port 10000)
  25. • [Additional]nginx for ovpn config download (port 86)
  26.  
  27.  
  28. Edit banner
  29. # For SSH (OpenSSH) nano /etc/banner && service sshd restart
  30.  
  31.  
  32.  
  33.  
  34. radz
  35.  
  36. apt update && apt-get -y install git && git clone https://github.com/radzvpn/openvpndeb && cd openvpndeb && chmod +x openvpn.sh && ./openvpn.sh For Dropbear nano /etc/banner && service dropbear restart
  37. # For Stunnel (SSL) nano /etc/banner && service stunnel4 restart
  38.  
  39. No Browse OpenVPN run this:
  40. bash /etc/bonveio/openvpn.bash
  41.  
  42. Go to root directory ng nginx "Edit ovpn file" run this:
  43. cd /usr/share/nginx/html && ls
  44.  
  45. edit sun config: nano SunConfig.ovpn
  46. edit gtm config: nano GTMConfig.ovpn
Add Comment
Please, Sign In to add comment