So:<br><br>masterserver tinc.conf<br><br><div style="margin-left: 40px;">Subnet = 192.168.2.1<br></div><br>masterserver tinc-up<br><br><div style="margin-left: 40px;">#!/bin/sh<br>ifconfig $INTERFACE 192.168.2.2 netmask 255.255.255.0<br>
<br></div>client1 tinc.conf<br><br><div style="margin-left: 40px;">Subnet = 192.168.2.2<br><br></div>client1 tinc-up<br><br><div style="margin-left: 40px;">#!/bin/sh<br></div><div style="margin-left: 40px;">ifconfig $INTERFACE 192.168.2.2 netmask 255.255.255.0<br>
<br></div><br>Do I not need any subnet bits on the end? Such <a href="http://192.168.2.1/">192.168.2.1/</a><b>32</b> or anything??? This is the part i&#39;m most confused about.. But I will trust your instruction and give those settings a whirl when I get in.<br>
<br>Thanks so much for this! A real life saver.<br><br>Planning on building some good apps on top of this setup - I&#39;ll let you know how I get on with it when im back!<br><br><br>Cheers,<br><br>Andy Barlow<br><br><div class="gmail_quote">
2009/3/5 Guus Sliepen <span dir="ltr">&lt;<a href="mailto:guus@tinc-vpn.org">guus@tinc-vpn.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Mar 05, 2009 at 02:05:32PM +0000, Andrew Barlow wrote:<br>
<br>
&gt; What should the &quot;subnet&quot; setting inside the &quot;tinc.conf&quot;&#39;s be and the<br>
&gt; ifconfig part of &quot;tinc-up&quot; have to be to make it:<br>
&gt;<br>
&gt; Server VPN IP: 192.168.2.1<br>
&gt; Client1 VPN IP: 192.168.2.2<br>
&gt; Client2 VPN IP: 192.168.2.3 (For example)<br>
&gt; Client3 VPN IP: 192.168.2.4 (For Example)<br>
<br>
</div>In hosts/server you should put Subnet = 192.168.2.1, in hosts/client1 Subnet =<br>
192.168.2.2, and so on. In the server&#39;s tinc-up script you should ifconfig<br>
$INTERFACE 192.168.2.1 netmask 255.255.255.0, in client1&#39;s tinc-up script<br>
ifconfig $INTERFACE 192.168.2.2 netmask 255.255.255.0, and so on.<br>
<br>
Also make sure to add #!/bin/sh to the top of tinc-up and to make that script<br>
executable.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Met vriendelijke groet / with kind regards,<br>
     Guus Sliepen &lt;<a href="mailto:guus@tinc-vpn.org">guus@tinc-vpn.org</a>&gt;<br>
</div></div><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (GNU/Linux)<br>
<br>
iEYEARECAAYFAkmv4kkACgkQAxLow12M2nu3aQCeMgJF2ZkyDb1sB647HJyz7+cc<br>
agwAnjGEr4DhTgj1ezRO1T6BYq8X+6EP<br>
=1my9<br>
-----END PGP SIGNATURE-----<br>
<br>_______________________________________________<br>
tinc mailing list<br>
<a href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a><br>
<a href="http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc" target="_blank">http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a><br>
<br></blockquote></div><br>