shellrow / netdev

Cross-platform library for network interface and gateway. Written in Rust.
MIT License
67 stars 13 forks source link

how to obtaing the Gateway or Peer IP when using a VPN #53

Open nbari opened 11 months ago

nbari commented 11 months ago

In MacOS using command scutil --nwi returns the VPN server, how to achieve the same natively with rust, any ideas?