On Mon, Nov 27, 2006 at 11:36:13PM +0100, Joop Susan wrote: > I've used tinc successfully for a long time, all with Linux hosts. No > problem there. > > Unfortunately I now have to add a Windows host to the VPN. What a fight > Winblows is! Probably just my ignorance.
I find it much harder to work with than other OSes as well. > The VPN works and tinc says that tinc-up is run (and a debugging > statement proves it) but I can't get an extra route added. > > tinc-up.bat contains: > ------------------- > netsh interface ip set address name=vpn1 source=static addr=192.168.1.12 > mask=255.255.255.0 > netsh routing ip add persistentroute dest=192.168.0.0 mask=255.255.255.0 > name=vpn1 nhop=192.168.1.12 > ------------------- Windows remembers the settings from the Network Connections control panel even if you reboot. The same should hold for persistent routes. So you don't need to do this in tinc-up.bat. > I can ping/telnet the host on 192.168.1.5, but not 192.168.0.9. > > 'netsh routing ip show persistentroutes' shows > 192.168.0.0/24 Non-DOD 0 1 192.168.1.12 UM VPN1 > > If I type 'route print' there is no route to 192.168.0.0/24. > > If I type 'route add 192.168.0.0 mask 255.255.255.0 192.168.1.12' it > starts to work. Now I can browse http://192.168.0.9... > > Any hint on what might be wrong with my tinc-up.bat? > > What is the correct way to add the extra route to the VPN device on Windows? I have no idea. -- Met vriendelijke groet / with kind regards, Guus Sliepen <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature
_______________________________________________ tinc mailing list [email protected] http://brouwer.uvt.nl/cgi-bin/mailman/listinfo/tinc
