I am currently working on setting up an IKEv2 VPN server with strongswan. I am working on a Mac running v10.11.16 (El Capitan). I have been referencing the following tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-ikev2-vpn-server-with-strongswan-on-ubuntu-16-04
I have run into issues with Step 4 of the tutorial. It seems that when I install strongswan using homebrew, the configuration files are not ending up in my etc/ folder, as they are supposed to. In fact, I can't seem to locate them anywhere on my machine. When I look in my /usr/local/opt directory, there is no etc directory included. It seems that my config files for strongswan are AWOL. Any ideas on where brew could be putting them?
Best Answer
If you've installed brew and strongswan to the default locations the standard "brew" etc location is /usr/local/etc/.
The folder contains all folders and sub-folders required by strongswan/ipsec etc.
Entering
ls -Ral /usr/local/etc
should reveal something like (slightly redacted by me to omit my user name and some unrelated folders were removed from the output):