Infrastructure
Network
See connections, open ports and devices, test your internet, and run a VPN or dynamic DNS.
The Network page shows how this server reaches the internet and who can reach it. Most tools also work from the terminal.
#Addresses and Open Ports
Open Network, then Connections and Open Ports. The ports table shows each port, its type, who can connect, the program, and the service or Bistro app behind it. Apps with a web page get an Open in Browser button.
bistro net # addresses, router, open ports, remote access
bistro ports # every open port and what listens on itWi-Fi, fixed addresses and bridges are on the Network page of Cockpit. A link on the Network page opens it.
#Test Your Internet
The Internet card on the Network page has Test Speed, Test Now and Trace Route.
bistro nettest speed # download speed in Mbit/s
bistro nettest speed --upload # also measure upload
bistro nettest ping 1.1.1.1 # packet loss and round trip time
bistro nettest trace example.com # the route, one line per hopBistro also checks the router and 1.1.1.1 every 10 minutes. It counts an outage when 1.1.1.1 does not answer while the router does, for two checks in a row. It sends an alert with the length of the outage when it ends.
bistro nettest history 7 # speed and ping samples of the last 7 days
bistro nettest outages # outages: start, end, length#Devices on Your Network
Devices on Your Network lists every device Bistro has seen: name, address, MAC address, maker, first seen and last seen. Bistro scans every 15 minutes. It alerts you when a new device shows up. Give a device a name to know it again.
bistro scan list
bistro scan name AA:BB:CC:DD:EE:FF printer
bistro scan forget AA:BB:CC:DD:EE:FF#Wake Machines
Wake Machines sends a Wake-on-LAN packet to a machine on this network. Turn on Wake-on-LAN in the BIOS of that machine first.
bistro wol add nas AA:BB:CC:DD:EE:FF
bistro wol nas # wake it
bistro wol list#Local Names
Local names like jellyfin.home come from dnsmasq on this server. Set it up on the Home Network page. See Home network.
bistro dns status#Speed Limits per App
Limit how much network an app can use. The list shows bytes in and out per app since it started. Rates look like 500kbit, 20mbit or 1gbit.
bistro bandwidth # use and limit per app
bistro bandwidth limit jellyfin 20mbit
bistro bandwidth unlimit jellyfin#VPN and Dynamic DNS
These two live on the Remote page. See Remote access for tunnels, Tailscale and port forwards.
WireGuard gives each phone or laptop one config or QR code. All traffic goes through home. Forward the UDP port on your router to this server.
bistro wg setup # server on UDP 51820
bistro wg add phone --qr # a QR code to scan
bistro wg show phone
bistro wg list # devices, last handshake, traffic
bistro wg remove phone # its key stops working at once
bistro wg statusDynamic DNS keeps a name pointed at your public IP address. It supports DuckDNS and Cloudflare. Bistro checks every 15 minutes and changes DNS only when the address changed.
bistro ddns set PROVIDER duckdns
bistro ddns set NAME myhome
bistro ddns set TOKEN YOUR_TOKEN
bistro ddns update # check now
bistro ddns status
bistro ddns off # remove the settingsFor Cloudflare, also set ZONE to your domain. bistro ddns record NAME keeps one more name on the same address.