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 output for openlan provider #27

Closed danieldin95 closed 6 months ago

danieldin95 commented 8 months ago

Add a vlxan type output:

openlan output add --network example --remote 1.1.1.2 --segment 100 --protocol vxlan

Add a gre type output:

openlan output add --network example --remote 1.1.1.2 --segment 100 --protocol gre

Add a vxlan type output:

openlan output add --network example --remote enp2s3 --segment 23

Remove a vxlan type output:

openlan output rm --network example --device vxn100

Display all outputs

openlan output list --network example

Add a openlan type output:

openlan output add --network example --protocol tcp --connection 1.1.1.1 --secret aes-128:key --auth user:password