1 Server, Multiple Client Setup

Guus Sliepen guus at tinc-vpn.org
Thu Mar 5 15:31:38 CET 2009


On Thu, Mar 05, 2009 at 02:05:32PM +0000, Andrew Barlow wrote:

> What should the "subnet" setting inside the "tinc.conf"'s be and the
> ifconfig part of "tinc-up" have to be to make it:
> 
> Server VPN IP: 192.168.2.1
> Client1 VPN IP: 192.168.2.2
> Client2 VPN IP: 192.168.2.3 (For example)
> Client3 VPN IP: 192.168.2.4 (For Example)

In hosts/server you should put Subnet = 192.168.2.1, in hosts/client1 Subnet =
192.168.2.2, and so on. In the server's tinc-up script you should ifconfig
$INTERFACE 192.168.2.1 netmask 255.255.255.0, in client1's tinc-up script
ifconfig $INTERFACE 192.168.2.2 netmask 255.255.255.0, and so on.

Also make sure to add #!/bin/sh to the top of tinc-up and to make that script
executable.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://www.tinc-vpn.org/pipermail/tinc/attachments/20090305/308879c7/attachment.pgp 


More information about the tinc mailing list