Help with routing between Windows

albi albi at web.de
Thu Sep 24 07:59:23 CEST 2009


First, use different networks at home and office, or it will not work. I
change your home network to 192.168.7.0/24 so it may work.

> homeClient: Physical Interface: 192.168.6.50 gateway 192.168.6.102
homeClient: Physical Interface: 192.168.7.50/255.255.255.0 gateway
192.168.7.102

> homeClient: Tap-Win32 192.168.10.23 no gateway
Use same IP as physical ip, but larger network mask:
Tap-Win32 192.168.7.50/255.255.0.0 no gateway

> homeClient file:
> Address:192.168.6.50
Address:192.168.7.50

> Subnet=192.168.10.0/24
Subnet=192.168.7.0/24


> vpnoffice: Physical Interface 192.168.6.102 gateway 192.168.6.1
vpnoffice: Physical Interface 192.168.6.102/255.255.255.0 gateway 192.168.6.1

> vpnoffice: Tap-Win32 192.168.98.10 no gateway
vpnoffice: Tap-Win32 192.168.6.102/255.255.0.0 no gateway

> vpnoffice file:
> Address = 192.168.6.102
Address = 192.168.6.102

> Subnet = 192.168.98.0/24
Subnet = 192.168.6.0/24


Wenn vpn is up, try ping from home tinc computer to office tinc computer.
If you want to route other computers via vpn, set default gateay on other
computers to your local tinc computer or add extra route for
192.168.0.0/255.255.0.0 to your tinc computer (maybe better way, but more
work). Add extra route to your gateways too.

Add tcponly line to both tinc.conf files.
Add tcp port 655 forwarding to your local tinc computers on both gateways.


ALBI...







More information about the tinc mailing list