I’m mostly following this blog post here to get everything set up: https://write.yiransheng.com/vpn (though with TCP instead of UDP, because we want this to work on networks where UDP 443 outbound is blocked). Currently a lot of the code is from the examples of the tun_tap crate. I managed to get it to capture all the network packets by setting it as the default interface (this also means it drops all packets going anywhere for now so I don’t get any internet while it’s running, yay). Here are some raw captured packets for fun:
0
Log in to leave a comment