09-13-2018 06:34 AM
I made this tool to make it easier to deploy an iOS VPN profile to my devices without the need for mobile device management solution. Once the file is generated you can email it to yourself using gmail and then open it. It will then import into your phone or ipad's profiles.
It has three connections that get created.
(SiteName): Always - with this you will always connect automatically to your VPN on LTE and Wifi
(SiteName): Manual - with this you will be able to manually connect to your VPN
(SiteName): WiFi - with this you will automatically connect to VPN when on an untrusted WiFi network based on the SSID's you add to the Wireless Networks - No VPN section in the tool.
Just fill in the information in the tool, navigate to a folder in Save Path and click Create Config.
Site Name: I would type something short in this field with no spaces as this is used when it creates the connection name in your VPN settings.
Site Address: This is where you would type in either an IP address or a hostname to your router after creating the L2TP connection.
User: The user name that you created for the connection in the Radius settings.
Password: The password for the user above.
Shared Secret: The secret you defined for you L2TP connections.
Wireless Networks No VPN: This is where you would define trusted SSID's to not connect to VPN. These are case sensitive.
The L2TP setup I used is below.
09-13-2018 06:51 AM - edited 09-13-2018 06:52 AM
@BuddyEdwards => sadly I'm using MacOS and Unix system, but this is a great idea already. I'm using the Apple COnfigurator to generate them, including the WPA2 enterprises (same username/password) and emails/services too (easy, same username and password for everything !)
It was one of the feature request actually, to provide iOS profile, but as Google android, and others OS don't have solution except by installating a MDM with a software to manage the configuration, it's hard to justify the dev for UBNT, as it's not really "inline with the low budget hardware solution" (You don't find iOS everywhere, but you can find android)
Note : the iOS profile you got, work on MacOS too, you can use it too !
Tuesday - last edited Tuesday
This looks like a very useful tool, thank you.
When I load the app it doesn't give me the option for a save path on the configuration. I have tried running it as an administrator. Any ideas?
EDIT: Nevermind, I downloaded again on another computer and it runs correctly. I have no I dea why id didn't behave on my laptop. Probably because it is a Micro$soft SurfaceBook with the stupid screen scaling it employs to make a 15" 3000X2000 display readable.
This is just a compiled powershell script that takes a .mobileconfig and fills it out and adds the sections it needs based on your input into variables that get populated when it finally saves the file. I've never had a reason to put it up on GItHub since its a single purpose script that I made for myself that I thought other Unifi users might be able to take advanatage of. That said you should be able to and exported .mobileconfig file and duplicate the logic in a web page to generate a text file output with the correct settings.