forked from mirrors/amnezia-wg-easy
		
	add settings for avatars in readme
This commit is contained in:
		
							parent
							
								
									76d5ac2d0b
								
							
						
					
					
						commit
						3c15fa697e
					
				
					 2 changed files with 39 additions and 34 deletions
				
			
		
							
								
								
									
										3
									
								
								.env
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								.env
									
										
									
									
									
								
							| 
						 | 
					@ -1,5 +1,4 @@
 | 
				
			||||||
WG_HOST=🚨YOUR_SERVER_IP
 | 
					WG_HOST=🚨YOUR_SERVER_IP
 | 
				
			||||||
PASSWORD_HASH=🚨YOUR_ADMIN_PASSWORD_HASH
 | 
					 | 
				
			||||||
# (Supports: en, ru, tr, no, pl, fr, de, ca, es)
 | 
					# (Supports: en, ru, tr, no, pl, fr, de, ca, es)
 | 
				
			||||||
LANGUAGE=en
 | 
					LANGUAGE=en
 | 
				
			||||||
PORT=51821
 | 
					PORT=51821
 | 
				
			||||||
| 
						 | 
					@ -8,3 +7,5 @@ WG_PORT=51820
 | 
				
			||||||
WG_DEFAULT_ADDRESS=10.8.0.x
 | 
					WG_DEFAULT_ADDRESS=10.8.0.x
 | 
				
			||||||
WG_DEFAULT_DNS=1.1.1.1
 | 
					WG_DEFAULT_DNS=1.1.1.1
 | 
				
			||||||
WG_ALLOWED_IPS=0.0.0.0/0, ::/0
 | 
					WG_ALLOWED_IPS=0.0.0.0/0, ::/0
 | 
				
			||||||
 | 
					DICEBEAR_TYPE=bottts
 | 
				
			||||||
 | 
					USE_GRAVATAR=true
 | 
				
			||||||
							
								
								
									
										68
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										68
									
								
								README.md
									
										
									
									
									
								
							| 
						 | 
					@ -7,6 +7,7 @@ You have found the easiest way to install & manage WireGuard on any Linux host!
 | 
				
			||||||
</p>
 | 
					</p>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Features
 | 
					## Features
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* All-in-one: AmneziaWG + Web UI.
 | 
					* All-in-one: AmneziaWG + Web UI.
 | 
				
			||||||
* Easy installation, simple to use.
 | 
					* Easy installation, simple to use.
 | 
				
			||||||
* List, create, edit, delete, enable & disable clients.
 | 
					* List, create, edit, delete, enable & disable clients.
 | 
				
			||||||
| 
						 | 
					@ -63,7 +64,8 @@ To automatically install & run wg-easy, simply run:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
> 💡 Replace `YOUR_SERVER_IP` with your WAN IP, or a Dynamic DNS hostname.
 | 
					> 💡 Replace `YOUR_SERVER_IP` with your WAN IP, or a Dynamic DNS hostname.
 | 
				
			||||||
>
 | 
					>
 | 
				
			||||||
> 💡 Replace `YOUR_ADMIN_PASSWORD_HASH` with a bcrypt password hash to log in on the Web UI. See [How_to_generate_an_bcrypt_hash.md](./How_to_generate_an_bcrypt_hash.md) for know how generate the hash.
 | 
					> 💡 Replace `YOUR_ADMIN_PASSWORD_HASH` with a bcrypt password hash to log in on the Web UI.
 | 
				
			||||||
 | 
					> See [How_to_generate_an_bcrypt_hash.md](./How_to_generate_an_bcrypt_hash.md) for know how generate the hash.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The Web UI will now be available on `http://0.0.0.0:51821`.
 | 
					The Web UI will now be available on `http://0.0.0.0:51821`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -73,37 +75,39 @@ The Web UI will now be available on `http://0.0.0.0:51821`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
These options can be configured by setting environment variables using `-e KEY="VALUE"` in the `docker run` command.
 | 
					These options can be configured by setting environment variables using `-e KEY="VALUE"` in the `docker run` command.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| Env | Default | Example | Description                                                                                                                                          |
 | 
					| Env                       | Default           | Example                        | Description                                                                                                                                                                                                              |
 | 
				
			||||||
| - | - | - |------------------------------------------------------------------------------------------------------------------------------------------------------|
 | 
					|---------------------------|-------------------|--------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
 | 
				
			||||||
| `PORT` | `51821` | `6789` | TCP port for Web UI.                                                                                                                                 |
 | 
					| `PORT`                    | `51821`           | `6789`                         | TCP port for Web UI.                                                                                                                                                                                                     |
 | 
				
			||||||
| `WEBUI_HOST` | `0.0.0.0` | `localhost` | IP address web UI binds to.                                                                                                                          |
 | 
					| `WEBUI_HOST`              | `0.0.0.0`         | `localhost`                    | IP address web UI binds to.                                                                                                                                                                                              |
 | 
				
			||||||
| `PASSWORD_HASH` | - | `$2y$05$Ci...` | When set, requires a password when logging in to the Web UI. See [How to generate an bcrypt hash.md]("https://github.com/wg-easy/wg-easy/blob/master/How_to_generate_an_bcrypt_hash.md") for know how generate the hash. |
 | 
					| `PASSWORD_HASH`           | -                 | `$2y$05$Ci...`                 | When set, requires a password when logging in to the Web UI. See [How to generate an bcrypt hash.md]("https://github.com/wg-easy/wg-easy/blob/master/How_to_generate_an_bcrypt_hash.md") for know how generate the hash. |
 | 
				
			||||||
| `PASSWORD` (deprecated) | - | `foobar123` | When set, requires a password when logging in to the Web UI. *(Not used if `PASSWORD_HASH` is set)*                                                  |
 | 
					| `PASSWORD` (deprecated)   | -                 | `foobar123`                    | When set, requires a password when logging in to the Web UI. *(Not used if `PASSWORD_HASH` is set)*                                                                                                                      |
 | 
				
			||||||
| `WG_HOST` | - | `vpn.myserver.com` | The public hostname of your VPN server.                                                                                                              |
 | 
					| `WG_HOST`                 | -                 | `vpn.myserver.com`             | The public hostname of your VPN server.                                                                                                                                                                                  |
 | 
				
			||||||
| `WG_DEVICE` | `eth0` | `ens6f0` | Ethernet device the wireguard traffic should be forwarded through.                                                                                   |
 | 
					| `WG_DEVICE`               | `eth0`            | `ens6f0`                       | Ethernet device the wireguard traffic should be forwarded through.                                                                                                                                                       |
 | 
				
			||||||
| `WG_PORT` | `51820` | `12345` | The public UDP port of your VPN server. WireGuard will listen on that (othwise default) inside the Docker container.                                 |
 | 
					| `WG_PORT`                 | `51820`           | `12345`                        | The public UDP port of your VPN server. WireGuard will listen on that (othwise default) inside the Docker container.                                                                                                     |
 | 
				
			||||||
| `WG_CONFIG_PORT`| `51820` | `12345` | The UDP port used on [Home Assistant Plugin](https://github.com/adriy-be/homeassistant-addons-jdeath/tree/main/wgeasy)                               
 | 
					| `WG_CONFIG_PORT`          | `51820`           | `12345`                        | The UDP port used on [Home Assistant Plugin](https://github.com/adriy-be/homeassistant-addons-jdeath/tree/main/wgeasy)                                                                                                   
 | 
				
			||||||
| `WG_MTU` | `null` | `1420` | The MTU the clients will use. Server uses default WG MTU.                                                                                            |
 | 
					| `WG_MTU`                  | `null`            | `1420`                         | The MTU the clients will use. Server uses default WG MTU.                                                                                                                                                                |
 | 
				
			||||||
| `WG_PERSISTENT_KEEPALIVE` | `0` | `25` | Value in seconds to keep the "connection" open. If this value is 0, then connections won't be kept alive.                                            |
 | 
					| `WG_PERSISTENT_KEEPALIVE` | `0`               | `25`                           | Value in seconds to keep the "connection" open. If this value is 0, then connections won't be kept alive.                                                                                                                |
 | 
				
			||||||
| `WG_DEFAULT_ADDRESS` | `10.8.0.x` | `10.6.0.x` | Clients IP address range.                                                                                                                            |
 | 
					| `WG_DEFAULT_ADDRESS`      | `10.8.0.x`        | `10.6.0.x`                     | Clients IP address range.                                                                                                                                                                                                |
 | 
				
			||||||
| `WG_DEFAULT_DNS` | `1.1.1.1` | `8.8.8.8, 8.8.4.4` | DNS server clients will use. If set to blank value, clients will not use any DNS.                                                                    |
 | 
					| `WG_DEFAULT_DNS`          | `1.1.1.1`         | `8.8.8.8, 8.8.4.4`             | DNS server clients will use. If set to blank value, clients will not use any DNS.                                                                                                                                        |
 | 
				
			||||||
| `WG_ALLOWED_IPS` | `0.0.0.0/0, ::/0` | `192.168.15.0/24, 10.0.1.0/24` | Allowed IPs clients will use.                                                                                                                        |
 | 
					| `WG_ALLOWED_IPS`          | `0.0.0.0/0, ::/0` | `192.168.15.0/24, 10.0.1.0/24` | Allowed IPs clients will use.                                                                                                                                                                                            |
 | 
				
			||||||
| `WG_PRE_UP` | `...` | - | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L19) for the default value.                                             |
 | 
					| `WG_PRE_UP`               | `...`             | -                              | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L19) for the default value.                                                                                                                 |
 | 
				
			||||||
| `WG_POST_UP` | `...` | `iptables ...` | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L20) for the default value.                                             |
 | 
					| `WG_POST_UP`              | `...`             | `iptables ...`                 | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L20) for the default value.                                                                                                                 |
 | 
				
			||||||
| `WG_PRE_DOWN` | `...` | - | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L27) for the default value.                                             |
 | 
					| `WG_PRE_DOWN`             | `...`             | -                              | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L27) for the default value.                                                                                                                 |
 | 
				
			||||||
| `WG_POST_DOWN` | `...` | `iptables ...` | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L28) for the default value.                                             |
 | 
					| `WG_POST_DOWN`            | `...`             | `iptables ...`                 | See [config.js](https://github.com/wg-easy/wg-easy/blob/master/src/config.js#L28) for the default value.                                                                                                                 |
 | 
				
			||||||
| `LANG` | `en` | `de` | Web UI language (Supports: en, ua, ru, tr, no, pl, fr, de, ca, es, ko, vi, nl, is, pt, chs, cht, it, th, hi).                                        |
 | 
					| `LANG`                    | `en`              | `de`                           | Web UI language (Supports: en, ua, ru, tr, no, pl, fr, de, ca, es, ko, vi, nl, is, pt, chs, cht, it, th, hi).                                                                                                            |
 | 
				
			||||||
| `UI_TRAFFIC_STATS` | `false` | `true` | Enable detailed RX / TX client stats in Web UI                                                                                                       |
 | 
					| `UI_TRAFFIC_STATS`        | `false`           | `true`                         | Enable detailed RX / TX client stats in Web UI                                                                                                                                                                           |
 | 
				
			||||||
| `UI_CHART_TYPE` | `0` | `1` | UI_CHART_TYPE=0 # Charts disabled, UI_CHART_TYPE=1 # Line chart, UI_CHART_TYPE=2 # Area chart, UI_CHART_TYPE=3 # Bar chart                           |
 | 
					| `UI_CHART_TYPE`           | `0`               | `1`                            | UI_CHART_TYPE=0 # Charts disabled, UI_CHART_TYPE=1 # Line chart, UI_CHART_TYPE=2 # Area chart, UI_CHART_TYPE=3 # Bar chart                                                                                               |
 | 
				
			||||||
| `JC` | `random` | `5` | Junk packet count — number of packets with random data that are sent before the start of the session. |
 | 
					| `DICEBEAR_TYPE`           | `false`           | `bottts`                       | see [dicebear types](https://www.dicebear.com/styles/)                                                                                                                                                                   |
 | 
				
			||||||
| `JMIN` | `50` | `25` | Junk packet minimum size — minimum packet size for Junk packet. That is, all randomly generated packets will have a size no smaller than Jmin. |
 | 
					| `USE_GRAVATAR`            | `false`           | `true`                         | Use or not GRAVATAR service                                                                                                                                                                                              |
 | 
				
			||||||
| `JMAX` | `1000` | `250` | Junk packet maximum size — maximum size for Junk packets. |
 | 
					| `JC`                      | `random`          | `5`                            | Junk packet count — number of packets with random data that are sent before the start of the session.                                                                                                                    |
 | 
				
			||||||
| `S1` | `random` | `75` | Init packet junk size — the size of random data that will be added to the init packet, the size of which is initially fixed. |
 | 
					| `JMIN`                    | `50`              | `25`                           | Junk packet minimum size — minimum packet size for Junk packet. That is, all randomly generated packets will have a size no smaller than Jmin.                                                                           |
 | 
				
			||||||
| `S2` | `random` | `75` | Response packet junk size — the size of random data that will be added to the response packet, the size of which is initially fixed. |
 | 
					| `JMAX`                    | `1000`            | `250`                          | Junk packet maximum size — maximum size for Junk packets.                                                                                                                                                                |
 | 
				
			||||||
| `H1` | `random` | `1234567891` | Init packet magic header — the header of the first byte of the handshake. Must be < uint_max. |
 | 
					| `S1`                      | `random`          | `75`                           | Init packet junk size — the size of random data that will be added to the init packet, the size of which is initially fixed.                                                                                             |
 | 
				
			||||||
| `H2` | `random` | `1234567892` | Response packet magic header — header of the first byte of the handshake response. Must be < uint_max. |
 | 
					| `S2`                      | `random`          | `75`                           | Response packet junk size — the size of random data that will be added to the response packet, the size of which is initially fixed.                                                                                     |
 | 
				
			||||||
| `H3` | `random` | `1234567893` | Underload packet magic header — UnderLoad packet header. Must be < uint_max. |
 | 
					| `H1`                      | `random`          | `1234567891`                   | Init packet magic header — the header of the first byte of the handshake. Must be < uint_max.                                                                                                                            |
 | 
				
			||||||
| `H4` | `random` | `1234567894` | Transport packet magic header — header of the packet of the data packet. Must be < uint_max. |
 | 
					| `H2`                      | `random`          | `1234567892`                   | Response packet magic header — header of the first byte of the handshake response. Must be < uint_max.                                                                                                                   |
 | 
				
			||||||
 | 
					| `H3`                      | `random`          | `1234567893`                   | Underload packet magic header — UnderLoad packet header. Must be < uint_max.                                                                                                                                             |
 | 
				
			||||||
 | 
					| `H4`                      | `random`          | `1234567894`                   | Transport packet magic header — header of the packet of the data packet. Must be < uint_max.                                                                                                                             |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
> If you change `WG_PORT`, make sure to also change the exposed port.
 | 
					> If you change `WG_PORT`, make sure to also change the exposed port.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue