cloudflare / boringtun

Userspace WireGuard® Implementation in Rust
BSD 3-Clause "New" or "Revised" License
5.92k stars 397 forks source link

Example to test functionality #349

Open usmank11 opened 1 year ago

usmank11 commented 1 year ago

Hi, are there any examples available to test functionality of the crate? There doesn't seem to be much about that in the documentation.

Also, when using boringtun cli, I'm unable to assign IP Addresses to my interfaces. Using the command wg setconf <interface> <configuration filename> It gives this error: Line unrecognized:Address=10.100.100.10/32' Configuration parsing error`

So im unable to assign an address to it too, although if I setup an interface using wg-quick instead I am able to assign an address and ping it too.