Skip to content

Instantly share code, notes, and snippets.

View hmoffatt's full-sized avatar

Hamish Moffatt hmoffatt

View GitHub Profile
@Daniel15
Daniel15 / _README.md
Last active August 29, 2023 21:33
Routing scripts for Tinc

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