Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catalina and Big Sur, 1.0.3, VPN configuration works but is not visible #52

Open
RedCSol opened this issue May 1, 2021 · 2 comments
Open

Comments

@RedCSol
Copy link

RedCSol commented May 1, 2021

So I'm seeing an issue with new machines where one can successfully install macosvpn (at least the files appear where they are supposed to and the command appears to work). I install a configuration and it never appears in Network control panel, but it will appear (only in the menu bar dropdown, not in the Network pane) if I start a new VPN interface and check the box for "Show VPN status in menu bar." Sometimes rerunning the creation script several times will work, sometimes nothing except the menu bar item workaround.

install:

#!/bin/bash
sudo sh -c "curl -L https://github.com/halo/macosvpn/releases/download/1.0.3/macosvpn > /usr/local/bin/macosvpn"
sudo chmod +x /usr/local/bin/macosvpn
echo "macosvpn command line installed"
exit 0\

and I configure with this:

/usr/local/bin/macosvpn create --force --cisco CLIENT_VPN --endpoint [ip address] --username "[your full name]" --password "[your VPN password]" --sharedsecret [sharedsecret]

am I doing it wrong?

@RedCSol
Copy link
Author

RedCSol commented Jun 1, 2021

Apparently something changed in 10.15.7 and Big Sur, the above behavior is seen if one tries to use macosvpn on the default "automatic" network location. Per tip by Brains on MacAdmins slack, creating a new network location and then running above command works as expected.

@RedCSol RedCSol closed this as completed Jun 1, 2021
@halo
Copy link
Owner

halo commented Jun 1, 2021

This is very peculiar.

I'm sorry for not having responded to your issue earlier.

Funny enough, I sometimes have issues where I see VPN services in the Network Preferences but not in the VPN dropdown in the menu bar.

Honestly, I think the whole Apple VPN-related network stack is very dusty and thus I'd expect things to be whacky sometimes.

I'll leave this issue open as a reminder to add a caveat to the README of macosvpn.

Thank you for getting back with more information!

@halo halo reopened this Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants