I have set 5 different profiles and the only one I can't get to work is for my VPN. I use OpenVPN via Tunnelblick, and I need help with getting that connection to show up in Little Snitch.
Some people seem to get it to work with OpenVPN (like the one who posted in this thread right above this post) but I'm not sure if that is with a separate network configuration in OS X built in network settings panel? I only have 1 Wi-Fi connection configured, and when I connect to my VPN service I use Tunnelblick. When I'm done I disconnect Tunnelblick, still connected to the same Wi-Fi. Will this prevent me from being able to use automatic profile switching for my VPN?
I'm guessing Little Snitch only works with whatever connections are listed in OS X network settings panel, since that's where the iPhone tethering options for bluetooth and USB are listed along with Wi-Fi and ethernet, and they all work. Please, if anyone has a solution let me know, it's the last piece I need for a complete configuration.
In the meantime I'm looking into Apple Script. If anyone can help me out please share. I'm thinking something like:
tell application "Little Snitch Configuration" to activate profile "VPN"
then tell application "Tunnelblick"
connect "VPNconfig"
get state of first configuration where name = "VPNconfig"
repeat until result = "CONNECTED"
delay 1
get state of first configuration where name = "VPNconfig"
end repeat
end tell
But I haven't tested this as I'm not very good with Apple Script. All I have done is look around the web for solutions to other problems and tried to combine the solutions to my own need, but I need help making it work. I have also tried to create a universal keyboard shortcut to activate the nested menu item "Profiles->VPN" in the keyboard shortcuts settings but that didn't work. I tried all of the different Little Snitch applications (the agent, the config and so on), and even a universal shortcut but it didn't work..
Hopefully this post can inspire someone to finish off my idea
