kayrus / gof5

Open Source F5 BIG-IP VPN client for Linux, MacOS, FreeBSD and Windows
Apache License 2.0
134 stars 25 forks source link

Added workaround for too many profiles #25

Closed franz101 closed 3 years ago

franz101 commented 3 years ago

For a project I need to work with a vpn with multiple profiles. Therefore I added a workaround: Through the environment variable PROFILE_FAVORITE

For example: export PROFILE_FAVORITE=1 sudo -E gof5 --server

It works perfectly on my side. It's the first lines of go I have ever written so I would really appreciate feedback

kayrus commented 3 years ago

Thank you. I fixed conflicts and added a couple of checks