openvpn ipchange script not executing?
Posted: Sun Dec 25, 2016 1:48 pm
Hi,
I can't seem to get an openvpn ipchange script to work in Viscosity 1.6.7 on macOS 10.12.2, not sure what I'm doing wrong, but the log always shows:
I'd really like to have access to the interface name and the ip ($dev and $ifconfig_local), which don't seem to be as easily available in applescript.
Thanks for any help!
I can't seem to get an openvpn ipchange script to work in Viscosity 1.6.7 on macOS 10.12.2, not sure what I'm doing wrong, but the log always shows:
Dec 24 20:37:10: WARNING: Failed running command (--ipchange): external program exited with error status: 1The relevant part of the (advanced) config is:
ipchange /usr/local/bin/vpn-ipchange.shI've tried placing the script alongside the configs in ~/Library/Application Support, /usr/local, my home directory, etc., various permissions (755 and 700) and owners (root and my uid), and just can't seem to get anything to run. Not even if I change it to /usr/bin/env or similar. What could I be missing?
script-security 2
I'd really like to have access to the interface name and the ip ($dev and $ifconfig_local), which don't seem to be as easily available in applescript.
Thanks for any help!