News for hackers. Stuff that matters.
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by imcritic on Friday December 19, 2025 @06:55AM (#46324836)
I wish they would improve wireguard-the-protocol as well: wireguard doesn't stand a chance against gov/isp blocks.
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by razighter777 on Friday December 19, 2025 @07:00AM (#46324884)
That's more of a job for an encapsulating protocol. (shadowsocks or similar) Wireguard isn't designed to be obfuscating alone. It's just a simple l3 udp tunnel with a minimal attack surface.
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by Hendrikto on Friday December 19, 2025 @08:01AM (#46325347)
> It's just a simple l3 udp tunnel

Wait, isn’t UDP L4? Am I missing something?

Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by eurg on Friday December 19, 2025 @08:20AM (#46325507)
Yes, but it tunnels arbitrary IP packets encapsulated in UDP.
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by gwehrli on Friday December 19, 2025 @08:22AM (#46325549)
Wireguard is a L3 VPN that uses UDP (L4) for tunneling. Thats probably what was meant.
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by nrds on Friday December 19, 2025 @10:13AM (#46326714)
That's the traditional answer parroted in the Wireguard documentation but a few hours' serious thought and design is enough to reveal the fatal flaw: any encapsulating protocol will have to reinvent and duplicatively implement all of the routing logic. Perr-based routing is at least 50% of wireguard's value proposition. Having to reimplement it at the higher level defeats the purpose. No, obfuscation _has_ to be part of the same protocol as routing.

(Btw, same sort of thing occurs with zfs combining raid and filesystem to close the parity raid write hole. Often strictly layered systems with separation of concerns are less than the sum of their parts.)

Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by gvkhna on Saturday December 20, 2025 @12:27AM (#46333845)
In this case with the, I believe it’s called quantum tunneling by mullvad, it’s actually a good thing. Because the encapsulation protocol is just UDP/IP, a well established existing protocol that can masquerade as any kind of internet traffic easily.

Makes it difficult to block by censors. Great video I saw here: https://youtu.be/pZiG8r-diTM?si=wy35elqMt1T6euq0

This also means wg is just doing one thing instead of a dozen it doesn’t “need” to.

Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by DANmode on Friday December 19, 2025 @08:00AM (#46325335)
Known Limitations

WireGuard is a protocol that, like all protocols, makes necessary trade-offs. This page summarizes known limitations due to these trade-offs.

Deep Packet Inspection

WireGuard does not focus on obfuscation. Obfuscation, rather, should happen at a layer above WireGuard, with WireGuard focused on providing solid crypto with a simple implementation. It is quite possible to plug in various forms of obfuscation, however.

tl;dr Read the docs.

Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by mycall on Friday December 19, 2025 @09:11AM (#46326035)
Mullvad does exactly this.
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by coppsilgold on Friday December 19, 2025 @01:43PM (#46329333)
WireGuard limitations hurt the attempt however.

For example, multi-hop betrays the actual exit node to your ISP (or MITM) due to the port used.

Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by baobun on Friday December 19, 2025 @04:20PM (#46331079)
To clarify, this is refering to Mullvad multi-hop feature. Doing your own multihop setup doesn't have this issue, right?
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by coppsilgold on Friday December 19, 2025 @06:20PM (#46332135)
Correct. Note that the MTU will be further reduced and that WireGuard DIY multi-hop may be inferred.
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by tvshtr on Friday December 19, 2025 @07:23AM (#46325058)
There are forks of wg because of this. Like amnezia-wg
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by DANmode on Friday December 19, 2025 @08:21AM (#46325527)
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by mintflow on Friday December 19, 2025 @09:25AM (#46326187)
amnezia-wg is quite cool and they have built the kmod too, I did some test so far they can works even in my location which block wireguard server quickly.
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by tetris11 on Friday December 19, 2025 @07:24AM (#46325067)
Anywhere I can read more about this?
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by holysoles on Friday December 19, 2025 @09:59AM (#46326555)
The mullvad apps do offer obfuscation options (shadowsocks, etc) but i agree it would be nice if something was baked into wireguard itself. I recently went through setting up shadowsocks over wg for my homelab and it was a good bit of effort
Re:GotaTun -- Mullvad's WireGuard Implementation in Rust by WhyNotHugo on Friday December 19, 2025 @10:16PM (#46333361)
Mullvad does offers several obfuscation methods well geared towards the scenarios you mention.