4 ms·
We used a similar challenge which tasked a candidate to build a VPN over UDP (without the complex / annoying bits like the TUN interface). If you ignore encrypt
by throwaway63467 3y ago
We used a similar challenge which tasked a candidate to build a VPN over UDP (without the complex / annoying bits like the TUN interface). If you ignore encryption it’s rather trivial. I guess in this problem the challenge is mostly the backend connection, otherwise you could possibly do this on a single VM though Golang wouldn’t be my first choice for that, the GC becomes quite annoying when processing streams at high frequency.
- dilyevsky 3y agoWould you accept https://github.com/WireGuard/wireguard-go/blob/master/tun/netstack/examples/http_server.go https://github.com/WireGuard/wireguard-go/blob/master/tun/ne... as a solution? =) Edit: also i personally find TUN very convenient.