3 ms·
It should be possible to run GRE, L2TP, or VXLAN over WireGuard although such tooling probably doesn't exist yet.
by wmf 7y ago
It should be possible to run GRE, L2TP, or VXLAN over WireGuard although such tooling probably doesn't exist yet.
- ryanlol 7y agoWhat tooling do you need for this? Shell scripts would be the traditional approach.
- wmf 7y agoYeah, as long as the shell script has been audited. It would probably be easy to accidentally send the GRE traffic in the clear instead of through WireGuard.
- ryanlol 7y agoDoesn’t seem that easy to fuck up, you just use internal WG IPs for the L2 tunnel. Packets just won’t go anywhere if WG is down.
- lapinot 7y agoSure but it hurts a bit to run a tunnel on top of another tunnel, and since you have to run wireguard as-is, you still have to do the static ip thing. It's a bit insane to have ethernet > udp (l2tp) > ip > udp (wireguard) > ip > ethernet. That's at least 128 bytes overhead per frame (udp/ip: 2*48, l2tp: 4, eth: 14, wireguard: 14).
- bitbang 7y agoI've run VXLAN over top of wireguard connections. One advantage is that you can have multiple intermediate wireguard connections that are not visible at the VXLAN layer.