Skip to content

Commit 716b04c

Browse files
author
Musixal
committed
[fix] service
1 parent f6f438c commit 716b04c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ To start using the solution, you'll need to configure both server and client com
4545
Create a configuration file named `config.toml`:
4646

4747
```toml
48-
[server]
48+
[server]# Local, IRAN
4949
bind_addr = "0.0.0.0:3080" # Address and port for the server to listen (mandatory).
5050
transport = "tcp" # Protocol ("tcp", "tcpmux", or "ws", optional, default: "tcp").
5151
token = "your_token" # Authentication token (optional).
@@ -71,7 +71,7 @@ To start using the solution, you'll need to configure both server and client com
7171

7272
Create a configuration file named `config.toml` for the client:
7373
```toml
74-
[client]
74+
[client] # Behind NAT, firewall-blocked
7575
remote_addr = "0.0.0.0:3080" # Server address and port (mandatory).
7676
transport = "tcp" # Protocol ("tcp", "tcpmux", or "ws", optional, default: "tcp").
7777
token = "your_token" # Authentication token (optional).
@@ -106,7 +106,7 @@ You can configure the `server` and `client` to use different transport protocols
106106
* **Server**:
107107

108108
```toml
109-
[server]
109+
[server] #
110110
bind_addr = "0.0.0.0:3080"
111111
transport = "tcp"
112112
token = "your_token"
@@ -207,7 +207,7 @@ After=network.target
207207

208208
[Service]
209209
Type=simple
210-
ExecStart=/root/backhaul -c config.toml
210+
ExecStart=/root/backhaul -c /root/config.toml
211211
Restart=always
212212
RestartSec=3
213213
LimitNOFILE=1048576

0 commit comments

Comments
 (0)