How to install and use TrustTunnel?
Important ! You need a domain name that is already pointed to this server in DNS and resolves to the server IP. You can register a domain with any company.
1) Run the installer
Connect to the server via SSH and run:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ssh-sashcore/trusttunnel/main/trusttunnell_ubuntu24.sh)"
During the installation the script will prompt you to enter your domain name.
2) Enter your domain name
When you see the prompt:
Domain: domain.tld
replace domain.tld with your actual domain name (e.g. vpn.example.com).
3) Output credentials
If the script finishes without errors, you will see the client connection details printed at the end (example):
HOST: domain.tld
IP: 146.103.124.100
LOGIN: admin1
PASS: 0sANfRvauJ
----------------------
HOST: domain.tld
IP: 146.103.124.100
LOGIN: admin2
PASS: WXkF1X9jUq
----------------------
HOST: domain.tld
IP: 146.103.124.100
LOGIN: admin3
PASS: mWshMTkoaM
----------------------
The same credentials are also saved to:
/root/clients.txt
User management
You can remove existing users or create new ones by editing:
/opt/trusttunnel/credentials.toml
Example entry:
[[client]]
username = "admin000"
password = "WXkF1X9jUq"
After making changes, restart the service:
service trusttunnel restart
VPN client apps:
* Windows client not created by developers (in development)
Creating a connection in the client app is simple and intuitive.
DNS:
https://cloudflare-dns.com/dns-query
tls://1dot1dot1dot1.cloudflare-dns.com
quic://dns.cloudflare.com
https://dns.google/dns-query
tls://dns.google