How to Create your VPN/SSH Server with a free VPS
Hello, friend Maya, meet again here at the city limits. Reminiscing about the past isn’t bad either. This time we will learn how to sell SSH or VPN yourself with a VPS or free server but with premium taste.
Setting up Free-VPS for Premium VPN/SSH
This time we will take advantage of the VPS from GCS (Google Cloud Service). For those who don’t have it, please register for Google Qwiklabs here.
Read : How to Create Your Own VPN server on a VPS with Good residential IP
Ok, we assume you already have an account, create a virtual machine or VPS in your text/Html panel account.
Step 1 : Make sure to log in with the root user, copy, and paste the following script on your VPS.
apt-get update && apt-get upgrade -y && update-grub && sleep 2 && reboot
Step 2 : Log in again with the root user, then change the password. Copy the command below, note when we enter the password the character will not appear. Don’t worry because this is not a problem.
passwd
Step 3 : Then copy the script below to install SSH
rm -f setup.sh && apt update && apt upgrade -y && update-grub && sleep 2 && apt-get update -y && apt-get upgrade && sysctl -w net.ipv6.conf.all.disable_ipv6=1 && sysctl -w net.ipv6.conf.default.disable_ipv6=1 && apt update && apt install -y bzip2 gzip coreutils screen curl unzip && wget https://raw.githubusercontent.com/fisabiliyusri/Mantap/main/setup.sh && chmod +x setup.sh && sed -i -e ‘s/\r$//’ setup.sh && screen -S setup ./setup.sh
Step 4 : Let the process run, don’t close the SSH window until it restarts itself. The process takes approximately 5–10 minutes.
Command Use SSH on VPS
To create an account, you must type “menu” in the VPS terminal. Then you will be presented with a choice, to choose you only need to enter the serial number of the command. Like the picture below.
Changing SSH WS SSL Port
To change the port, you can write the command below. This, if it works if you want to use a certain port.
Step 1 : WS — TLS, change the port you want, for example, 443, you just change it to 442
nano /etc/systemd/system/ws-tls.service
nano /usr/local/bin/ws-tls
Step 2 : SSLH change the port you want, for example 443, you just change it to 442
nano /etc/default/sslh
Step 3 : SSL Tunnel, change the port you want, for example, 443, you just change it to 442
nano /etc/stunnel5/stunnel5.conf
Step 4 : Restart the VPS so that the script can run normally.
Fitur Script SSH
• CEK SEMUA IP DAN PORT (Service ALL VPN)
• SSH & OpenVPN
• SSH Over DNS (SlowDNS)
• SSH Over Websocket (Cloudflare)
• OpenVPN Over Websocket (Cloudflare)
• SSLH
• SSH CloudFront Over Websocket (Aws CloudFront Only) [OFF]
• OHP SSH & OHP Dropbear & OHP OpenVPN (OPEN HTTP PUNCHER)
• XRAY VMESS
• XRAY VLESS
• XRAY TROJAN
• XRAY VMESS GRPC
• XRAY VLESS GRPC
• SHADOWSOCKS
• SHADOWSOCKS OBFS
• SHADOWSOCKS xray-plugin
• SHADOWSOCKS v2ray-plugin
• SHADOWSOCKS gost-plugin
• SSR
• PPTP VPN
• L2TP VPN
• SSTP VPN
• WIREGUARD
• TROJAN GO
• Backup Data ALL Service
• Restore Data ALL Service
• Auto Fix
• Auto Update
OS Support
• Debian 10 & 9
• Ubuntu 18.04 & 20.04 (disarankan menggunakan versi 20.04)
Service and Port
• SlowDNS : All Port SSH
• OpenSSH : 22, 2253
• Dropbear : 443, 109, 143, 1153
• Stunnel5 : 443, 445, 777
• OpenVPN : TCP 1194, UDP 2200, SSL 990
• Websocket SSH TLS : 443
• Websocket SSH HTTP : 8880
• Websocket OpenVPN : 2086
• Squid Proxy : 3128, 8080 [OFF]
• Badvpn : 7100, 7200, 7300
• Nginx : 89
• Wireguard : 7070
• L2TP/IPSEC VPN : 1701
• PPTP VPN : 1732
• SSTP VPN : 444
• Shadowsocks-R : 1443–1543
• SS-OBFS TLS : 2443–2543
• SS-OBFS HTTP : 3443–3543
• XRAYS Vmess TLS : 8443
• XRAYS Vmess None TLS : 80
• XRAYS Vless TLS : 8443
• XRAYS Vless None TLS : 80
• XRAYS Trojan : 2083
• XRAYS Vmess GRPC TLS : 1180,3380
• XRAYS Vless GRPC TLS : 2280,4480
• OHP SSH : 8181
• OHP Dropbear : 8282
• OHP OpenVPN : 8383
• Trojan Go : 2087
• CloudFront Over Websocket : [OFF]
Server Information & Other Features
• Timezone : Asia/Jakarta (GMT +7)
• Fail2Ban : [ON]
• Dflate : [ON]
• IPtables : [ON]
• Auto-Reboot : [ON]
• IPv6 : [OFF]
• Autoreboot On 05.00 GMT +7
• Autoreboot On 00.00 GMT +7
• Autoreboot On 12.00 GMT +7
• Autoreboot On 18.00 GMT +7
• Auto Delete Expired Account
• Full Orders For Various Services
• White Label
• Auto Fix
• Auto Update
Closing
The need for the internet is increasing, but the quota is getting more expensive because the price of oil is also expensive. We are required to be more efficient, therefore this article is here to be one of the solutions offered.
Don’t forget to bookmark this page so you can be more independent. Thank you