Hysteria Inbound

{
	"type": "hysteria",
	"tag": "hysteria-in",
	"listen": "::",
	"listen_port": 8443,
	"up_mbps": 500,
	"down_mbps": 500,
	"users": [{
		"name": "bitcoinvps.cloud",
		"auth": "8JCsPssfgS8tiRwiMlhARg==",
		"auth_str": "upiTU?rUW3+4e6Radro"
	}],
	"max_conn_client": 2048,
	"disable_mtu_discovery": false,
	"tls": {
		"enabled": true,
		"server_name": "subdomain.example.com",
		"alpn": [
			"h3"
		],
		"min_version": "1.2",
		"max_version": "1.3",
		"certificate_path": "",
		"key_path": "",
		"acme": {
			"domain": ["subdomain.example.com"],
			"data_directory": "/etc/sing-box",
			"default_server_name": "",
			"email": "singbox@example.com",
			"provider": "letsencrypt"
		}
	}
}
Code language: JSON / JSON with Comments (json)

Download “Hysteria” inbound to your Sing-Box server:

curl https://raw.githubusercontent.com/bitcoinvps/singbox-vpn/main/hysteria-udp/server/config.json > /etc/sing-box/config.jsonCode language: Bash (bash)

Hysteria inbound requires a TLS certificate, so we need to create a subdomain.

The subdomain should point to your VPS server’s IP address. You can either use IPv4 or IPv6, depending on the capability of your VPS server.

Replace “subdomain.example.com” with the subdomain you created in the previous step, and replace “singbox@example.com” with the email address you want to use to obtain your certificate.

After testing a successful connection, you can edit the “listen,” “listen_port,” “auth,” and “auth_str” settings as desired, but make sure to match your client’s hysteria outbound config.json.

Finally, you can enable singbox service.