Open gluxon opened 4 years ago
Is this equivalent to rtnetlink's route add? https://docs.rs/rtnetlink/0.7.0/rtnetlink/struct.RouteAddRequest.html
It might be useful to combine some of the functionality, at the moment for libvopono I'm looking at using a combination of rtnetlink for ip address assignment and routing, nftnl for adding nftables rules, and this crate for creating Wireguard tunnels (parsing wg-quick config files). But they all share a lot of Netlink calls fundamentally.
Yup! They're the same thing. That's partly why I haven't prioritized adding these calls to this library.
If they are added it'll likely be behind a feature flag.
A helpful strace:
This is necessary for
host -> peer
communication through the internal VPN subnet.peer -> host
works fine so this issue is lower priority.