spetragl
spetragl
See if this works for you. Edit vpnc-script-win.js CONNECT SECTION: run("route delete 0.0.0.0 mask 0.0.0.0 "); run("route add 0.0.0.0 mask 0.0.0.0 " + new-ip-route); DISCONNECT SECTION: run("route delete 0.0.0.0 mask...
Just a suggestion: you might want to capture STDERR in addition to STDOUT in the 'exec' subroutine. ws.Run("cmd.exe /c " +cmd+" 2>&1 > " + tmpdir + "vpnc.out", 0, true);...
Time for more testing. Oh incidentally, the 2>&1 seems to fix (bug #59) the missing command output in the GUI log (except for Disconnect; not sure why only that is...
I found a problem with these lines. They cause the APPs that go thru the tunnel (by default) not to connect. If I comment them out, default APPs connect as...