Skip to content

Commit

Permalink
Improve README.md example clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
danpodeanu committed Feb 15, 2024
1 parent a55f8dd commit de58aa5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ The UDP sender (e.g., wireguard client) sends packets to the UDP redirector here
| Argument | Parameters | Req/Opt | Description |
| --- | --- | --- | --- |
| ```--listen-address``` | address | *optional* | Listen address. |
| ```--listen-port``` | port | *required* | Listen port. |
| ```--listen-port``` | port | **required** | Listen port. |
| ```--listen-interface``` | interface | *optional* | Listen interface name. |
| ```--listen-address-strict``` | | *optional* | **Security:** By default, packets received from the connect endpoint will be sent to the source of the last packet received on the listener endpoint. In ```listen-address-strict``` mode, only accept packets from the same source as the first packet, or the source specified by ```listen-sender-address``` and ```listen-sender-port```. |

Expand All @@ -80,9 +80,9 @@ The UDP redirector sends packets here (e.g., to the wireguard server):

| Argument | Parameters | Req/Opt | Description |
| --- | --- | --- | --- |
| ```--connect-address``` | address | *required* | Connect address. |
| ```--connect-host``` | address | *required* | Connect host, overwrites ```connect-host``` if both are specified. |
| ```--connect-port``` | port | *required* | Connect port. |
| ```--connect-address``` | address | **required** | Connect address. |
| ```--connect-host``` | address | **required** | Connect host, overwrites ```connect-host``` if both are specified. |
| ```--connect-port``` | port | **required** | Connect port. |
| ```--connect-address-strict``` | | *optional* | **Security**: Only accept packets from ```connect-host``` / ```connect-port```, otherwise accept from all sources. |

# Sender
Expand Down

0 comments on commit de58aa5

Please sign in to comment.