luscis / openlan

Cloudify VPN written in Golang, and simple deployment via Kubernetes
http://vpn.luscis.cn
GNU General Public License v3.0
55 stars 24 forks source link

support add route for a network #28

Closed danieldin95 closed 5 months ago

danieldin95 commented 8 months ago

Add a route to network:

openlan route add --network example --prefix 192.168.11.0/24 --nexthop 192.168.1.10

Remove a route from network:

openlan route rm --network example --prefix 192.168.11.0/24 --nexthop 192.168.1.10

Display all routes:

openlan route list --network example