So: masterserver tinc.conf
Subnet = 192.168.2.1 masterserver tinc-up #!/bin/sh ifconfig $INTERFACE 192.168.2.2 netmask 255.255.255.0 client1 tinc.conf Subnet = 192.168.2.2 client1 tinc-up #!/bin/sh ifconfig $INTERFACE 192.168.2.2 netmask 255.255.255.0 Do I not need any subnet bits on the end? Such 192.168.2.1/*32* or anything??? This is the part i'm most confused about.. But I will trust your instruction and give those settings a whirl when I get in. Thanks so much for this! A real life saver. Planning on building some good apps on top of this setup - I'll let you know how I get on with it when im back! Cheers, Andy Barlow 2009/3/5 Guus Sliepen <[email protected]> > 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 <[email protected]> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkmv4kkACgkQAxLow12M2nu3aQCeMgJF2ZkyDb1sB647HJyz7+cc > agwAnjGEr4DhTgj1ezRO1T6BYq8X+6EP > =1my9 > -----END PGP SIGNATURE----- > > _______________________________________________ > tinc mailing list > [email protected] > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc > >
_______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
