On Sat, Aug 18, 2012 at 05:30:30PM +0400, SVM wrote:
> Could someone, please, explain to me the meaning of Subnet directive
> in configuration file of host, because I really don't understand
> this.
[...]> In which case should I use Subnet?
>
> I have simple tinc.conf:
>
> Name = aaa
> Interface = tap0
> Mode = switch
> ConnectTo = zzz
Since you are using switch mode, you don't need to specify Subnets at all.
You
do need them in router mode. Basically, the Subnet statements tell tinc which
IP addresses belong to which nodes in the VPN. Also see the documentation of the
Mode variable.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL:
<http://www.tinc-vpn.org/pipermail/tinc/attachments/20120818/70b93fff/attachment.pgp>