Routing setup with pfSense package

Corey Boyle coreybrett at gmail.com
Wed Aug 29 02:37:36 CEST 2018


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" <lists at sumpfralle.de> wrote:

Hello Corey,


Am Tue, 28 Aug 2018 16:23:02 -0400
schrieb Corey Boyle <coreybrett at gmail.com>:


> 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
tinc at tinc-vpn.org
https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20180828/045068d2/attachment.html>


More information about the tinc mailing list