博主头像
Wood Chen

万事如意

  • 累计撰写 279 篇文章
  • 累计创建 238 个标签
  • 累计收到 20 条评论

目 录CONTENT

自行搭建一个whatsapp的专用IP代理

2025-12-07 · 0 评论 · 0 点赞 · 235 阅读 · 0 字

注意不要公开.

官方代码开源仓库

https://github.com/WhatsApp/proxy

搭建方法

version: '3.3'

services:
  whatsappproxy:
    container_name: whatsapp_proxy
    image: facebook/whatsapp_proxy:latest
    restart: unless-stopped
    ports:
      # - "80:80"     # HTTP
        - "27891:443"   # HTTPS
      # - "5222:5222" # whatsapp
      # - "8199:8199" # HAPROXY statistics page
      # - "8080:8080" # HTTP with accept-proxy processing
      # - "8443:8443" # HTTPS with accept-proxy processing
      # - "8222:8222" # JABBER with accept-proxy processing
        - "27892:587"   # whatsapp.net
      # - "7777:7777" # whatsapp.net
    healthcheck:
      test: /usr/local/bin/healthcheck.sh
      interval: 10s
      start_period: 5s
    environment:
      - PUBLIC_IP=服务器公网IP

使用方法

设置-存储空间与数据-网络/代理-设置代理 里添加就行

先添加IP, 然后设置聊天端口和媒体端口.

评论区