Compiling
I was having problems cross-compiling for Linux because I wanted x86_64 but my raspberry pi is arm and couldn’t compile for it. Then I found cross, a Rust crate that allows for best cross-compiling using Docker which is exactly what I was looking for.
Testing
Testing Further in Docker
I tested the NetworkConfigurators to ensure that they were being set up and, most importantly, were resetting the network config after being shut down. Everything was working properly.
Testing For Real
I managed to convince one of my friends who has a Linux laptop to help me test it. I ran the server and he connected with the client. I fixed several dumb mistakes. One of the main ones was that I hardcoded the network device assuming it would be eth0 when I wasn’t using ethernet. I was stuck on that for a while.
Other Stuff
I added a README, finally. The screenshot below is of my friend’s computer. He connected to my vpn and looked up his IP and it showed mine. Obviously, you can’t see that because I censored it, but it was too cool not to share.
Log in to leave a comment