dual gateway with routing issues and tinc-up and host-up scripts for windows clients?

Guus Sliepen guus at tinc-vpn.org
Tue Feb 2 11:45:50 CET 2016


On Tue, Feb 02, 2016 at 11:25:30AM +0100, Jelle de Jong wrote:

> How can I execute a dynamic script under Windows when the TINC tunnel
> comes up? To say execute the following command: route ADD 0.0.0.0 MASK
> 255.255.252.0 192.168.200.1 METRIC 5 IF 24

Just like under Linux, but add the extension ".bat" to the scripts, so
tinc-up.bat and hosts/server01-up.bat. You can then use netsh commands
in the .bat files, and use %INTERFACE% instead of $INTERFACE.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20160202/417aeda3/attachment.sig>


More information about the tinc mailing list