The following code snippet works with the latest Ngrok version 3.
version: "3" tunnels: first: addr: 4000 proto: http second: addr: 5000 proto: http agent: authtoken: your_private_token