RESTART ---Help with routing between Windows

albi albi at web.de
Wed Sep 30 08:15:51 CEST 2009


> homeClient<br>
> Network Bridge: (local Area Network and TAP-Win32) 192.168.6.107 mask
255.255.255.0 gw 192.168.6.1<br>
change -> mask 255.255.0.0

> Tinc.conf<br>
> Name = homeClient<br>
> ConnectTo = vpnoffice<br>
> Mode=switch<br>
Change -> Mode=router
Why everybody wants switch???
Add -> TCPonly=yes


> vpnoffice: Network Bridge(Local Connection and TAP-Win32) 192.168.2.103
mask 255.255.255.0 gw 192.168.2.2<br>
-> mask 255.255.0.0

> Tinc.conf:<br>
> Name = vpnoffice<br>
> Mode=switch<br>
Change -> Mode=router
Add -> TCPonly=yes


> Host File:<br>
> Address=192.168.2.103<br>
> TCPonly=yes<br>
Remove TCPonly=yes


Start tinc with --debug=4 and you will have some information in looging.

Why 255.255.0.0. If you use this mask, every ip 192.168.*.* will go to tap
interface, except local network 192.168.X.*
So you can build up to 255 networks inside tinc and tinc will do the
routing for you automaticly. You may use smaller networks, but only do it
if you have good knowledge about masks.


ALBI...






More information about the tinc mailing list