You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,20 +28,26 @@ If you already have a proxy to use, you can connect it to WhatsApp by following
28
28
docker pull facebook/whatsapp_proxy:latest
29
29
```
30
30
31
-
You can then skip down to **Running the proxy** and substitute any tag of `whatsapp_proxy:1.0` with `facebook/whatsapp_proxy:latest`.
31
+
You can then skip down to **Running the proxy** and substitute any tag of `whatsapp_proxy:1.0` with `facebook/whatsapp_proxy:latest`.
32
32
33
33
### 1. Clone the repository to your local machine
34
+
34
35
```bash
35
36
git clone https://github.com/WhatsApp/proxy.git
36
37
```
38
+
37
39
You should see a folder called `proxy` created in the current directory.
38
40
39
41
### 2. [Install Docker](https://docs.docker.com/get-docker/) for your system
42
+
40
43
To confirm Docker is successfully installed:
44
+
41
45
```bash
42
46
docker --version
43
47
```
48
+
44
49
should display a line similar to `Docker version 20.10.21, build baeda1f`.
50
+
45
51
### 2. (Optional) Install Docker compose
46
52
47
53
For Linux users, if your [version of Docker](https://docs.docker.com/desktop/install/linux-install/) doesn't come pre-installed with Docker compose, you can install a one-off version (For Linux).
You will see lines ending with `Certificate generation completed.`. The HAProxy is running in the background and will continue to do so until you close this process.
82
89
83
-
84
90
### Check your connection
85
-
To confirm HAProxy is running, visit `http://<host-ip>:8199` where `<host-ip>` is your **public** IP address. You can also use this link to monitor proxy statistics.
91
+
92
+
To confirm HAProxy is running, visit `http://<host-ip>:8199` where `<host-ip>` is your **public** IP address. You can also use this link to monitor proxy statistics.
86
93
87
94
> NOTE: If your public IP address is not accessible, you will need to enable port forwarding (for the ports above) for the router/gateway you are using. Since this operation is device-specific, we are not going to go into it in details in this doc.
88
95
@@ -105,7 +112,6 @@ on connections. If you have a network load balancer you can preserve the client
105
112
2. 8443: Standard web traffic, encrypted (HTTPS) with PROXY protocol expected
Ports 443 and 8443 are protected by a self-signed encryption certificate generated at container start time. There are some custom options should you wish to tweak the settings of the generated certificates
@@ -119,7 +125,6 @@ They can be set with commands like
0 commit comments