This Gist contains some scripts for Tinc, in order to configure the routing tables for a remote subnet on Windows (ie. if a remote system wants to expose an entire subnet over the VPN). Tinc does not configure the routing tables by default, which is why these scripts are needed. See the mailing list thread here: https://www.tinc-vpn.org/pipermail/tinc/2018-December/005340.html
Place the files in the Tinc network directory (eg. C:\Program Files\Tinc\netname\
) and change $interface
in functions.ps1
to match the name of the Tinc interface configured in tinc.conf