Thank you so much for the feedback. Would I be able to use OSPF to manage the routes, or is the script the only way?
Also, I can't find any reference to the "VPN Netmask" option in the TINC docs. Is that something specific to the pfS package? __ Corey On Aug 28, 2018 6:35 PM, "Lars Kruse" <[email protected]> wrote: Hello Corey, Am Tue, 28 Aug 2018 16:23:02 -0400 schrieb Corey Boyle <[email protected]>: > See this thread for more details... > > https://forum.netgate.com/topic/134218/tinc-initial-setup I think, the crucial misunderstanding in the above thread is the following: > However, the routeing table on each router does not reflect this information > and only has a single route added for the tun interface. I think it is important to understand, that tinc (unlike OpenVPN, for example) does not provide any network configuration details for you. It just creates a network interface and deals with packets, that flow into or out of this interface. Everything else (configuring IP addresses and routing) needs to be done by you in the scripts (tinc-(up|down), subnet-(up|down), ...). For your case I guess, that the following script "subnet-up" could be sufficient: #!/bin/sh ip route add "$SUBNET" dev "$INTERFACE" ("subnet-down" should do the opposite) Cheers, Lars _______________________________________________ tinc mailing list [email protected] https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
_______________________________________________ tinc mailing list [email protected] https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
