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!

Auto Install SSH and OpenVPN Script for VPS Ubuntu 18.04 64 bit additional features such as OpenVPN TCP-UDP

sXc

Elite
Joined
Jul 31, 2017
Messages
3,082
Reaction
19,654
ubuntu18.png
loleggnig.gif
In this article, I will share the auto install SSH and OpenVPN scripts for VPS Ubuntu 18.04 64 bit.

This script has the same features as the SSH and OpenVPN auto install script that I have shared
for Debian 9 & Debian 10..
loleggnig.gif
Script Features

Following are the features of this script:
  1. OpenSSH, ports: 22, 444
  2. Dropbear, ports: 80, 143
  3. SSL, port: 443
  4. Squid3, port: 8000, 8080 (limit to IP VPS)
  5. Badvpn: badvpn-udpgw port 7200
  6. Webmin: http: // IPVPS: 10000 /
  7. OpenVPN: TCP 1194 and UDP 25000
  8. Menu script: displays a list of available commands
  9. Usernew script: create SSH and OpenVPN accounts
  10. Trial script: create SSH and OpenVPN trial accounts
  11. Delete script: delete SSH and OpenVPN accounts
  12. Check script: check user login
  13. Script member: check the list of SSH and OpenVPN members
  14. Script speedtest: VPS speedtest
  15. Info script: displays system information
  16. Script about: information about the auto install script
  17. VPS auto reboots every 12 at night
loleggnig.gif
Terms

As usual, before executing this script, make sure that your VPS is still fresh and has not installed any applications.
Also, make sure that your VPS has a Ubuntu 18.04 64 bit operating system.

How to Install Script

Download the script with the command

# wget You do not have permission to view the full content of this post. Log in or register now.

Change the script to be executable with the command

# chmod +x ubi18.sh

5. Execute the script with the command

# ./ubi18.sh

The script installation process takes about 3-5 minutes.

After the script installation process is complete, don't forget to run the following command


After running the reboot command, the SSH connection to the VPS will be automatically disconnected.
Wait for 1-3 minutes or more.

Credit to owner
 

Attachments

Last edited:

Online statistics

Members online
1,723
Guests online
1,879
Total visitors
3,602

Forum statistics

Threads
829,982
Messages
16,420,401
Members
1,446,409
Top