Is this reinventing OpenVPN?
A userspace WireGuard client that exposes itself as a proxy
41–50 of 91 posts
Re: A userspace WireGuard client that exposes itself as a proxy
#42Plug for my own similar project: https://github.com/aramperes/onetun Though admittedly, mine doesn't have SOCKS support, and the code is not as lean as yours!
Basically a kitchen sink for this sort of thing using lwIP for it's IP stack
Re: A userspace WireGuard client that exposes itself as a proxy
#43Re: A userspace WireGuard client that exposes itself as a proxy
#44Re: A userspace WireGuard client that exposes itself as a proxy
#45Earlier quoted context omitted.
Mullvad's SOCKS proxies are only accessible if you've got the VPN active; they're an additional layer, not an alternative.
That is not true. You can route only traffic to the SOCKS proxies if you choose and nothing else.
Re: A userspace WireGuard client that exposes itself as a proxy
#46Earlier quoted context omitted.
Mullvad's SOCKS proxies are only accessible if you've got the VPN active; they're an additional layer, not an alternative.
That is not true. You can route only traffic to the SOCKS proxies if you choose and nothing else.
> If you configure your browser, for example, to use the SOCKS5 proxy, it will direct all of your internet access via the proxy which is only accessible through Mullvad. So if you haven't turned on the app, your browser will prevent all internet access and therefore won't leak any information.
Re: A userspace WireGuard client that exposes itself as a proxy
#47Re: A userspace WireGuard client that exposes itself as a proxy
#48Earlier quoted context omitted.
That is not true. You can route only traffic to the SOCKS proxies if you choose and nothing else.
Do you have a source for this? Every page on Mullvad I've seen says you need to have the VPN active: https://mullvad.net/en/help/socks5-proxy/ > If you configure your browser, for example, to use the SOCKS5 proxy, it will direct all of your internet access via the proxy which is only accessible through Mullvad. So if you haven't turned on the app, your browser will prevent all internet access and therefore won't leak…
Re: A userspace WireGuard client that exposes itself as a proxy
#49Re: A userspace WireGuard client that exposes itself as a proxy
#50I love wireguard but my one gripe with it is that its not a true data link layer. You have to give it routing information through an out of band mechanism “AllowedIPs.” One downside is that you can’t have two peers that act as general routers on the same wireguard network. With Ethernet, you can have multiple nodes in the same subnet acting as generic routers, it’s just a matter of sending IP packets to that host. I…
AllowedIPs can be disabled if you want; just set it to 0.0.0.0/0. AllowedIPs is needed because netfilter can't "see" which public key an inbound packet is coming from, so by the time a packet gets to netfilter it's too late to accept/reject based on which peer sent it to us.