go-pcap2socks

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2025 License: GPL-3.0 Imports: 20 Imported by: 0

README

go-pcap2socks

go-pcap2socks is a proxy that redirects traffic from any device to a SOCKS5 proxy.

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.

Documentation

Quick Start

# Install
go install github.com/DaniilSokolyuk/go-pcap2socks@latest

# Configure
go-pcap2socks config

# Run
sudo go-pcap2socks

Troubleshooting

Permission Denied
  • Run with sudo or as administrator
  • On macOS/Linux: sudo go-pcap2socks
  • On Windows: Run as Administrator
Game Console Setup

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).

Credits

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
common
pool
Package pool provides a pool of []byte.
Package pool provides a pool of []byte.
device/iobased
Package iobased provides the implementation of io.ReadWriter based data-link layer endpoints.
Package iobased provides the implementation of io.ReadWriter based data-link layer endpoints.
Package proxy provides implementations of proxy protocols.
Package proxy provides implementations of proxy protocols.
Package socks5 provides SOCKS5 client functionalities.
Package socks5 provides SOCKS5 client functionalities.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL