Skip to content

The bridge ​

INFO

For help, ask in #help on our Discord or open an issue on GitHub. Please add what you tried and what the setup page or docker logs wa-classic shows.

The bridge is the small program at home that links WA Classic to WhatsApp. This page explains everything about it after the setup.

The setup page ​

Open localhost:8097 on the computer with the bridge, or the bridge's address from another computer at home.

PartWhat it's for
Cydia sourcea backup source for Cydia, if http://cydia.waclassic.com doesn't load
Address and setup codewhat you enter on a new iPhone. New code makes a fresh code.
Download the lookdownloads the pictures and sounds of the old WhatsApp once, see The classic look
Away from homeyour DynDNS name or fixed IP, see Away from home
Securitythe fingerprint of the bridge's certificate
Manage › Unlink WhatsAppunlinks the bridge from your WhatsApp account and deletes the chats on it
Manage › Log out of this pagelogs you out of the setup page

Ports ​

PortForRouter
8097setup page, Cydia source and the iPhone at homenever forward
25567the iPhone away from home, encryptedforward only if you want to use WA Classic away from home

Useful commands ​

CommandWhat it does
docker logs wa-classicshows what the bridge did. Add --tail 50 for the last 50 lines.
docker restart wa-classicrestarts the bridge
docker stop wa-classicstops it until you start it again
docker start wa-classicstarts it again
docker psshows whether it's running

Making a backup ​

Everything is in the Docker volume wa-classic-data: the link to WhatsApp, your chats, the bridge's key and certificate. This saves it as a file in the current folder:

sh
docker run --rm -v wa-classic-data:/data -v "$PWD":/backup alpine tar czf /backup/wa-classic-backup.tgz -C /data .

WARNING

The backup contains your messages and the link to your WhatsApp account. Keep it as safe as the computer itself.

Moving to another computer ​

  1. Make a backup on the old computer and copy the file to the new one.
  2. On the new computer, install Docker and restore the backup:
sh
docker volume create wa-classic-data
docker run --rm -v wa-classic-data:/data -v "$PWD":/backup alpine tar xzf /backup/wa-classic-backup.tgz -C /data
  1. Start the bridge with the line from your installation page.
  2. Stop and remove the bridge on the old computer.

The new computer probably has another address at home. Enter it on each iPhone: Settings › Account › Network Status.

Switching to another WhatsApp account ​

  1. On the setup page: Manage › Unlink WhatsApp.
  2. On each iPhone, link again with a new setup code. See Linking WhatsApp.

Several iPhones ​

One bridge can serve several old iPhones. They all show the same account. Set up each of them with its own setup code.

Settings for Docker Compose ​

If you use Docker Compose (common on a NAS), these settings go under environment:

SettingWhat it does
WA4S_PUBLIC_HOSTyour DynDNS name or fixed IP for away from home. Same as on the setup page.
WA4S_PUBLIC_PORTonly if your router forwards another outside port to 25567

WA Classic is an unofficial client and not affiliated with, endorsed by or connected to WhatsApp or Meta.