Did you know that you can navigate the posts by swiping left and right?
I have been testing and using F-Secure Freedome VPN for a while and I was wondering that can I get it running on my OpenBSD virtual machine. I have done some research before about the security of the Freedome (as I normally do when I start to use new software), and I was aware that it is based OpenVPN.
When you launch Freedome and enable VPN, it will kick openvpn process up with “–config stdin” flag.
$ ps auxwww | grep -i openvpn root 807 0.0 0.1 2453816 4416 ?? S 12:23AM 0:00.03 /Applications/Freedome.app/Contents/MacOS/openvpn --config stdin
Config will be sent to openvpn via stdin so we need to do small wrapper to get the config out.
To get the config, run the following in terminal.
$ cd /Applications/Freedome.app/Contents/MacOS $ sudo mv openvpn openvpn.orig $ echo -e '#!/bin/bash\ntee /tmp/freedome-config.log | /Applications/Freedome.app/Contents/MacOS/openvpn.orig "$@"' | sudo tee openvpn $ sudo chmod a+rx openvpn
(Updated 2017-05-19, thanks for Ville Viinikka (viinikv@IRCnet) for pointing out bug)
(Updated 2017-09-10, Something has changed in OSX so now config will be written to /tmp/freedome-config.log and sodo tee is used for writing the warepper to disk)
$ cd /Applications/Freedome.app/Contents/MacOS $ sudo mv openvpn.orig openvpn
In the configuration file you should see something like:
management "/Users/youraccount/Library/Application Support/F-Secure/FSFreedome/VPNDomainSocket" unix
$ nc -U "$HOME/Library/Application Support/F-Secure/FSFreedome/VPNDomainSocket" >PASSWORD:Need Private Key password password "Private Key" ffffffffffffffffffffffffffffffffffffffffffffff
You might want to change following sections from config file:
# openvpn --config your-freedome.conf