Skip to content

Commit c3f5244

Browse files
committed
v4.4
1 parent c83c505 commit c3f5244

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Firefly is a simple and easy to install WireGuard server software, which can be
4545

4646
:purple_circle: Support all native WireGuard client access
4747

48-
:yellow_circle: Compact and lightweight, less than 10M in size, does not rely on WireGuard
48+
:yellow_circle: Compact and lightweight, less than 13M in size, does not rely on WireGuard
4949

5050
:orange_circle: Developed in Go language, single file, high-performance, supports multi CPU architecture
5151

@@ -60,33 +60,33 @@ Firefly supports CPU architecture environments such as Linux x86 and ARM. The do
6060

6161
- ### Server Installation
6262

63-
Select the corresponding public server, such as x86 environment, please download [firefly-linux-amd64](https://github.com/Safe3/firefly/releases/download/v4.3/firefly-linux-amd64)
63+
Select the corresponding binary, such as x86 environment, please download [firefly-linux-amd64](https://github.com/Safe3/firefly/releases/download/v4.4/firefly-linux-amd64)
6464

65-
Add executable permissions
65+
Prepare
6666

6767
```bash
68-
chmod +x ./firefly
68+
mkdir -p /opt/firefly && mv firefly-linux-amd64 /opt/firefly/firefly && chmod +x /opt/firefly/firefly
6969
```
7070

71-
Run it
71+
Install as a service
7272

7373
```bash
74-
./firefly
74+
/opt/firefly/firefly -s install
7575
```
7676

77-
Run in background
77+
Start firefly service
7878

7979
```bash
80-
nohup ./firefly >/dev/null 2>&1 &
80+
/opt/firefly/firefly -s start
8181
```
8282

83-
Run in containerdownload docker-compose.yml and execute
83+
If you want to run it in container, just download docker-compose.yml and execute
8484

8585
```bash
8686
docker compose up -d
8787
```
8888

89-
Visit http://ip:50121 ,login to the management backend with the default password firefly
89+
Visit http://ip:50121 ,login to the management with the default password firefly
9090

9191
> :biohazard: ***If the server is using cloud services, remember to open the UDP port 50120 and TCP port 50121-50122 required for Firefly***
9292
@@ -114,7 +114,7 @@ The first time running firefly will generate a conf/config.json configuration fi
114114
"wg_mtu": 1280, // WireGuard server MTU value
115115
"wg_persistent_keepalive": 25, // WireGuard client keepalive packet sending interval time
116116
"wg_address": "198.18.0.1/15", // WireGuard client virtual IP network range
117-
"wg_dns": "1.1.1.1", // WireGuard client DNS configuration
117+
"wg_dns": "8.8.8.8", // WireGuard client DNS configuration
118118
"wg_allowed_ips": "0.0.0.0/0, ::/0", // WireGuard client allowed ips
119119
"wg_proxy_address": ":50122" // TCP relay listening address,which can prevent UDP QoS flow limitation
120120
}
@@ -154,5 +154,5 @@ If you want to support more features such as access controling, advanced routing
154154

155155
## :key: License
156156

157-
Firefly is only for personal free use. The front-end of this project is sourced from [wg easy]( https://github.com/wg-easy/wg-easy) , follow the original project CC 4.0 license, thanks for the original auther Emile Nijssen!
157+
Firefly is only for personal free use. The front-end of this project is modified from wg easy , follow the original project CC 4.0 license, thanks for the original auther Emile Nijssen!
158158

README_CN.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,27 +62,27 @@
6262

6363
- ### 服务端安装
6464

65-
准备一台公网IP服务器,选择对应的CPU架构,如x86 64环境请下载[firefly-linux-amd64](https://github.com/Safe3/firefly/releases/download/v4.3/firefly-linux-amd64)
65+
准备一台公网IP服务器,选择对应的CPU架构的二进制文件,如x86 64环境请下载[firefly-linux-amd64](https://github.com/Safe3/firefly/releases/download/v4.4/firefly-linux-amd64)
6666

67-
添加可执行权限
67+
前期准备
6868

6969
```bash
70-
chmod +x ./firefly
70+
mkdir -p /opt/firefly && mv firefly-linux-amd64 /opt/firefly/firefly && chmod +x /opt/firefly/firefly
7171
```
7272

73-
前台运行
73+
服务安装
7474

7575
```bash
76-
./firefly
76+
/opt/firefly/firefly -s install
7777
```
7878

79-
后台运行
79+
启动运行
8080

8181
```bash
82-
nohup ./firefly >/dev/null 2>&1 &
82+
/opt/firefly/firefly -s start
8383
```
8484

85-
容器中运行:下载docker-compose.yml文件然后执行
85+
如果你想使用容器版,可以下载docker-compose.yml文件然后执行如下命令启动:
8686

8787
```bash
8888
docker compose up -d
@@ -116,7 +116,7 @@ docker compose up -d
116116
"wg_mtu": 1280, // 萤火虫服务端 WireGuard MTU值
117117
"wg_persistent_keepalive": 25, // 萤火虫客户端存活包发送间隔时间
118118
"wg_address": "198.18.0.1/15", // 萤火虫客户端虚拟ip网段范围
119-
"wg_dns": "1.1.1.1", // 萤火虫客户端dns配置
119+
"wg_dns": "8.8.8.8", // 萤火虫客户端dns配置
120120
"wg_allowed_ips": "0.0.0.0/0, ::/0", // 萤火虫客户端要转发流量到服务端的ip地址范围,默认所有流量
121121
"wg_proxy_address": ":50122" // 萤火虫TCP协议中转监听地址,可防止UDP QoS限流
122122
}

firefly-linux-386

2.82 MB
Binary file not shown.

firefly-linux-amd64

3.07 MB
Binary file not shown.

firefly-linux-arm

2.88 MB
Binary file not shown.

firefly-linux-arm64

3 MB
Binary file not shown.

0 commit comments

Comments
 (0)