diff -up NetworkManager-openvpn-0.7.0/src/nm-openvpn-service.c.script-security NetworkManager-openvpn-0.7.0/src/nm-openvpn-service.c --- NetworkManager-openvpn-0.7.0/src/nm-openvpn-service.c.script-security 2008-09-30 15:56:42.000000000 -0400 +++ NetworkManager-openvpn-0.7.0/src/nm-openvpn-service.c 2008-09-30 15:57:03.000000000 -0400 @@ -611,6 +611,13 @@ nm_openvpn_start_openvpn_binary (NMOpenv add_openvpn_arg (args, "--syslog"); add_openvpn_arg (args, "nm-openvpn"); + /* Punch script security in the face; this option was added to OpenVPN 2.1-rc9 + * and defaults to disallowing any scripts, a behavior change from previous + * versions. + */ + add_openvpn_arg (args, "--script-security"); + add_openvpn_arg (args, "2"); + /* Up script, called when connection has been established or has been restarted */ add_openvpn_arg (args, "--up"); add_openvpn_arg (args, NM_OPENVPN_HELPER_PATH);