Exposing extra subnet via Tinc

Daniel Lo Nigro lists at d.sb
Thu Dec 6 01:45:32 CET 2018

I worked this out - I just had to manually add a route on the Windows

route add mask

(where is the local IP on the Tinc interface)
I was hoping that Tinc would automatically configure the routing tables,
but configuring it manually is fine.

On Tue, Dec 4, 2018 at 11:10 PM Daniel Lo Nigro <lists at d.sb> wrote:

> Hi!
> I'm currently using Tinc to create a VPN between a Linux server, a Windows
> server, and my local laptop and desktop computers (both running Windows). I
> picked an IP in the 10.123.1.x range for each server, and added something
> like "Subnet =" to each host config file. It's working very
> well!
> What I'd like to do now is expose an extra subnet to the VPN. The Linux
> server has LXC containers in the subnet. I'd like any
> hits to 192.168.122.x to go to that particular server. I tried simply
> modifying the host config to also include that subnet:
> Subnet =
> Subnet =
> But that didn't work - Pings to from other hosts on the VPN
> just time out
> When I run "route print" on the Windows machines, I don't see any routes
> for that IP range.
> Do I need to do any extra config on the Linux server, or do I need to
> somehow configure additional routing rules on my Windows machines?
> This is how I configured Tinc in /etc/networking/interfaces on the Linux
> machine:
> auto tincvpn
> iface tincvpn inet static
>         address
>         netmask
>         tinc-net vpn
>         tinc-debug 1
>         tinc-mlock yes
>         tinc-user nobody
>         tinc-pidfile /run/tinc.pid
> Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20181205/43a0a9dd/attachment.html>

More information about the tinc mailing list