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
Copy file name to clipboardExpand all lines: README.md
+27-5Lines changed: 27 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,35 @@
1
1
# go-pcap2socks
2
2
go-pcap2socks is a proxy that redirects traffic from any device to a SOCKS5 proxy.
3
3
4
-
go-pcap2socks functions like a router, allowing you to connect various devices such as an **XBOX**, **PlayStation (PS4, PS5)**, **Nintendo Switch**, mobile phones, printers and others to any SOCKS5 proxy server. Additionally, you can host a SOCKS5 proxy server on the same PC to use services like a VPN or a game booster/accelerator for reduced latency, you can also share a working VPN from your computer to your mobile phone.
4
+
go-pcap2socks functions like a router, allowing you to connect various devices such as an **XBOX**, **PlayStation (PS4, PS5)**, **Nintendo Switch**, mobile phones, printers and others to any SOCKS5 proxy server. Additionally, you can just start go-pcap2socks with the default direct outbound to share your VPN connection to any devices on your network.
5
5
6
-
## Dependencies
7
-
For **Windows**, install [Npcap](http://www.npcap.org/) or WinPcap. If you choose Npcap, ensure to install it in "WinPcap API-compatible Mode". For **macOS**, **Linux**, and other operating systems, use libpcap.
6
+
## Documentation
8
7
9
-
## Config
10
-
Config example is [here](https://github.com/DaniilSokolyuk/go-pcap2socks/blob/main/config.json)
8
+
-[Installation Guide](install.md) - Instructions for installing go-pcap2socks on various platforms
9
+
-[Configuration Guide](config.md) - Detailed configuration documentation with examples
10
+
11
+
## Quick Start
12
+
13
+
```bash
14
+
# Install
15
+
go install github.com/DaniilSokolyuk/go-pcap2socks@latest
16
+
17
+
# Configure
18
+
go-pcap2socks config
19
+
20
+
# Run
21
+
sudo go-pcap2socks
22
+
```
23
+
24
+
## Troubleshooting
25
+
26
+
### Permission Denied
27
+
- Run with `sudo` or as administrator
28
+
- On macOS/Linux: `sudo go-pcap2socks`
29
+
- On Windows: Run as Administrator
30
+
31
+
### Game Console Setup
32
+
For **Nintendo Switch** and **PS5**, you need to manually set the MTU value in the console's network settings. The required MTU value is displayed when go-pcap2socks starts (shown in the console output).
0 commit comments