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

Add documentation to configure OS X with IPSec #623

Open
2 tasks done
hakito opened this issue Oct 27, 2024 · 5 comments
Open
2 tasks done

Add documentation to configure OS X with IPSec #623

hakito opened this issue Oct 27, 2024 · 5 comments
Labels
support Community support

Comments

@hakito
Copy link

hakito commented Oct 27, 2024

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.

I am new to OPNsense and I could get IPSec working with windows, but not with OS X.

The current documentation

:header: "VPN Method", "Win7", "Win10", "Linux", "Mac OS X", "IOS", "Android", "OPNsense config"

refers to the documentation IPsec: Setup OPNsense for IKEv2 EAP-TLS. But is this probably outdated?

Step 3 - Phase 1 Mobile Clients

Mobile Clients does not have a Phase 1 setup.

Describe the solution you like

An up to date description for the OPNsense configuration and the according configuration in OS X.

Describe alternatives you considered

In the meantime I use OpenVPN, but this requires installation of an additional client in OS X.

Additional context

@Monviech
Copy link
Member

This setup worked really well with the NCP client on macOS.

https://docs.opnsense.org/manual/how-tos/ipsec-swanctl-rw-ikev2-eap-mschapv2.html

Its kinda the same as with OpenVPN, the best experience comes with an additional (commercial) client like Viscosity.

@hakito
Copy link
Author

hakito commented Oct 28, 2024

I also came across this section. But I wanted to avoid installing additional software on the clients. So it's not possible to make it work with native OS X VPN implementation?

@Monviech
Copy link
Member

Monviech commented Oct 28, 2024

I'm sure it is possible somehow but you would need to do your own testing.

Since it works with iOS it should work somehow with OSX. But given how iOS for example ignores the IKE Configuration Payloads AND dns servers, using a client that actually accepts them and configures DNS and Routes with them might still be needed.

When in doubt check out the Strongswan Documentation, there are a lot of configuration examples.

I just checked and there is also a strongswan client for macOS:
https://docs.strongswan.org/docs/5.9/os/macos.html

Though its unmaintained now and they say to use Ikev2 built in:
https://support.apple.com/de-de/guide/mac-help/mchlp2963/mac

I guess configuraton would work the same as with iOS example in the docs.

@hakito
Copy link
Author

hakito commented Oct 28, 2024

Thanks for the hint. I already tried for several hours to get it working on OS X. But I didn't get remote authentication working.

But to be honest - I am also not very experienced with IPSec troubleshooting. At least it seems I am not the only one struggling with this.

I already decided with my client to use OpenVPN in the meantime for OS X clients.

@Monviech
Copy link
Member

That is a good choice, especially when using Clients like Viscosity. It's just not worth the trouble IPsec imposes on the admin and the user in that environment.

@Monviech Monviech added the support Community support label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Community support
Development

No branches or pull requests

2 participants