Skip to content

Commit 2e89d73

Browse files
authored
Update port-forward.md (#322)
Fix port_forward parameters at documentation for port forwarding usage
1 parent 8677477 commit 2e89d73

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎en/guide/network/port-forward.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ sudo easytier-core \
8383

8484
## Configuring via Configuration File
8585

86-
In addition to command-line parameters, port forward rules can be written into the configuration file, corresponding to the `port_forwards` field. Each rule has three fields: `bind_addr`, `dst_addr`, and `proto`:
86+
In addition to command-line parameters, port forward rules can be written into the configuration file, corresponding to the `port_forward` field. Each rule has three fields: `bind_addr`, `dst_addr`, and `proto`:
8787

8888
```toml
89-
[[port_forwards]]
89+
[[port_forward]]
9090
proto = "tcp"
9191
bind_addr = "127.0.0.1:5202"
9292
dst_addr = "10.144.0.20:5201"
9393

94-
[[port_forwards]]
94+
[[port_forward]]
9595
proto = "udp"
9696
bind_addr = "127.0.0.1:5202"
9797
dst_addr = "10.144.0.20:5201"

0 commit comments

Comments
 (0)