onetun
wireproxy
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
onetun
- WireGuard client that exposes itself as a HTTP/SOCKS5 proxy
-
A userspace WireGuard client that exposes itself as a proxy
Sure, essentially it's a TCP and UDP server that:
- receives connections and assigns a random internal port for it
- wraps the data packets in a transport packet (TCP/UDP)
- wraps the transport in an IP packet that's routed from the internal port and to the remote WireGuard address
- wraps that with WireGuard's protocol (encryption)
- sends off the encrypted packet to the WireGuard UDP endpoint
The packet-wrapping and state machine for the connection is implemented using smoltcp in Rust, which is similar to netstack in Go
The WireGuard encapsulation and state machine is implemented with boringtun, Cloudflare's implementation of the WireGuard client in Rust.
I do have a more thorough architecture explanation in the Readme: https://github.com/aramperes/onetun#architecture
-
Remote access without port forwarding?
If you use WireGuard instead of Tinc, you can use onetun which is specifically designed for doing this: https://github.com/aramperes/onetun
- aramperes/onetun - Access your WireGuard network from any device, without root access or having to install WireGuard locally
-
onetun: Cross-platform, user-space WireGuard port-forwarder
It's in the plans! I'm going to finish UDP support and multi-port forwarding first and then I'll get to it: https://github.com/aramperes/onetun/issues/6
- Cross-platform, user-space WireGuard port-forwarder that requires no system network configurations.
- Show HN: Onetun, a cross-platform WireGuard port-forwarder
wireproxy
- WireGuard client that exposes itself as a HTTP/SOCKS5 proxy
- A VPN provider that offers both manual wireguard configuration and socks5 proxy service
- Wireproxy
-
proxies are expensive
However, there are ways to be frugal like using VPNs that have high device limit and quality servers through wireproxy etc. Though note that this is a resource problem - would you spend your dev time figuring out how to setup your own proxy network and penny-pinch here or spend that time working on your product instead? That's why web scraping services are becoming so popular - it just handles all of this ugly mess for you (I might be bias :)
- How can I connect to WireGuard on a Win 10 without admin rights?
- Best way to add mullvad vpn
-
Show HN: Wiretap – Transparent WireGuard proxy server without root
Wireproxy can do similar stuff: https://github.com/octeep/wireproxy
(Disclaimer: I am a contributor to Wireproxy)
-
Best VPN or proxy service ?
Though if you're interested in using VPNs as proxies I recommend looking into wireproxy which turns wireguard VPNs to proxy services. As many VPN services allow 5-10 simultaneous connections you can have a pool of 5-10 proxies for your web scrapers. This is a great, cheap solution for IP-based rate limiting.
-
Mullvad blocked by streaming apps and certain websites
Technically you could connect to Mullvad by generating a WireGuard config and feeding it into wghttp or wireproxy and then use a proxy-switching browser extension to use the proxy only for websites that don't break
- Any plan to create a browser extension?
What are some alternatives?
tunsocks - User-level IP forwarding, SOCKS proxy, and HTTP proxy for VPNs that provide tun-like interface
wireguard-go - Mirror only. Official repository is at https://git.zx2c4.com/wireguard-go
tun2socks - tun2socks - powered by gVisor TCP/IP stack
esp_wireguard - WireGuard Implementation for ESP-IDF
Xray-core - Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
ini - Package ini provides INI file read and write functionality in Go
Netmaker - Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
systemd - The systemd System and Service Manager
microsocks - tiny, portable SOCKS5 server with very moderate resource usage
headscale - An open source, self-hosted implementation of the Tailscale control server
DisPro - SOCKS5/Transparent load balancing proxy developed in Go, combines multiple internet connections.