Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOnlyArtz authored Oct 29, 2021
1 parent 770635f commit 5183b9b
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# rust-tcp-holepunch

#### Prerequisites
Your rendezvous server must lay in a network which **doesn't** have a NAT!
The peers may or may not lay in the same network

### Getting Started
`server`
(The server runs on port 3000)
Running the rendezvous server should be as simple as running
```
cargo r
```
or (assuming you've compiled)
```
./server.exe
```

### Example
running the server on a VPS **(without a NAT!!!!)**
```
./server.exe
```

`client A on network A`
```
./client.exe
```

`client B on network B`
```
./client.exe
```

The peers may now communicate with each other.
you may close the rendezvous server and watch as they speak without the need of port-forwarding!

0 comments on commit 5183b9b

Please sign in to comment.