Hi all,
I'm experiencing a strange problem.
I have setup 2 gateways which are behind a NAT router.

They are configured in Route mode and have the ips 10.0.0.1/32 and 10.0.0.2/32 on the tinc interface

The also have subnets (192.168.1.0/24 and 192.168.2.0/24 respectively).

Now the odd thing is that when the VPN comes up they both also add the local subnet to their routes on the tinc interface:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.10.0.254 0.0.0.0 UG 0 0 0 eth0 10.0.0.1 0.0.0.0 255.255.255.255 UH 10 0 0 tin0 10.0.0.2 0.0.0.0 255.255.255.255 UH 10 0 0 tin0 192.168.1.0 0.0.0.0 255.255.255.0 U 10 0 0 tin0 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.2.0 0.0.0.0 255.255.255.0 U 10 0 0 tin0

the subnet-up script runs this command:
ip route add $SUBNET dev $INTERFACE metric $WEIGHT

Linux distro is Debian 7, with stock tinc version (1.0.19-3).

Should I filter it in the subnet-up script? I have other installations which don't create this effect.

Thank you.

Regards,
Alessandro
_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to