You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure to setup your Go environment, and to add $GOPATH/bin to your PATH, then:
5
-
```
6
-
go get github.com/delthas/proxypunch
7
-
go install github.com/delthas/proxypunch
8
-
proxypunch
9
-
```
3
+
**This program lets you host & connect to friends to play peer-to-peer games without having to open or redirect any port.**
4
+
5
+
*Technical details: proxypunch creates a user-friendly UDP proxy/tunnel between two peers by hole punching the user's NAT with a custom STUN-like server which additionally "matchmakes" users based on their internal port rather than their NAT-ed port.*
6
+
7
+
## How to use
8
+
9
+
- Download the [latest version for Windows 64 bits](https://github.com/delthas/proxypunch/releases/latest/download/proxypunch.win64.exe) (for other OS check the [latest release page](https://github.com/delthas/proxypunch/releases/latest/))
10
+
- Simply double-click the downloaded executable file to run it; there is no setup or anything so put the file somewhere you'll remember
11
+
- If a Windows Security Alert popup appears, check all checkboxes and click on "Allow access"
12
+
- If prompted for an update, press `Enter` to accept the update; proxypunch will update and restart automatically
13
+
- Choose between **server** (hosting) and **client** (connecting to a host) by typing `s` or `c`, then pressing `Enter`
14
+
- Instructions continue below depending on your choice
15
+
16
+
##### Server / Hosting
17
+
18
+
- When prompted for a port, choose any port (if you're not sure, choose any randon number between 10000 and 60000), type it and press `Enter`
19
+
- In your game, start your server / start hosting on the port you chose
20
+
- Ask your peer to connect to the shown host and port, **the peer must connect with proxypunch as explained below, not directly**
21
+
- Wait for the peer to connect, then play & profit
22
+
- When you're done playing with this peer, stop hosting, and close the proxypunch window (start it again and repeat the process to play with someone else)
23
+
- Next time you run proxypunch, you can simply press `Enter` to use the same settings as last time you connected
24
+
25
+
##### Client / Connecting to a host
26
+
27
+
- Wait for the person hosting to send you a host and port to connect to
28
+
- Enter the host and port when prompted to by typing it and pressing `Enter`
29
+
- In your game, connect to the shown host and port (**not the host and port your peer gave you**)
30
+
- Profit & play
31
+
- When you're done playing with this peer, disconnect, and close the proxypunch window (start it again and repeat the process to play with someone else)
32
+
- Next time you run proxypunch, you can simply press `Enter` to use the same settings as last time you connected
33
+
34
+
##### Troubleshooting
35
+
36
+
- If you experience any issue when restarting proxypunch to play with someone else, try to use a different port every time your run proxypunch
37
+
- If you have any other issue or feedback, either contact me on Discord at `cc#6439` or [open an issue on Github](https://github.com/delthas/proxypunch/issues/new)
38
+
39
+
## Advanced usage
40
+
41
+
- Command-line flags are available for quick/unattended start, run `proxypunch -help` to review the flags
0 commit comments