A collection of user-space proxy implementations to bridge URNetwork to other protocols without requiring root privileges.
The proxy repository provides two implementations:
-
socks
A SOCKS5 proxy that routes traffic through URNetwork. -
wg
A WireGuard-based proxy for secure tunneling over URNetwork.
Before you begin, ensure you have:
- Go and Git installed on your system.-
Clone the required repositories:
git clone https://github.com/urnetwork/connect git clone https://github.com/urnetwork/proxy
-
Change into the proxy directory:
cd proxy -
Choose your implementation:
# For the SOCKS5 proxy: cd socks # For the WireGuard proxy: cd wg
-
(Optional) Tidy up your module dependencies:
go mod tidy
-
Configuration & Usage
- `socks` Follow the steps in socks/README.md to configure and launch the SOCKS5 proxy. - `wg` See wg/EXAMPLE_SETUP.md for an example WireGuard setup and usage instructions.
To solve the error below (common after go get -u), make sure gvisor is on the go branch:
go get gvisor.dev/gvisor@go
# the gvisor error
../../go/pkg/mod/gvisor.dev/gvisor@vxxx/pkg/tcpip/adapters/gonet/gonet.go:29:2: found packages stack (addressable_endpoint_state.go) and bridge (bridge_test.go) in /Users/brien/go/pkg/mod/gvisor.dev/gvisor@vxxx/pkg/tcpip/stack