Hi, i want to make a vpn between two windows machine. It works only in SWITCH mode but not in ROUTER mode. What's mistake ? PC01: tinc.conf name=pc01 interface=vpn000 mode=switch connectto=ns7 hosts\ns7 address=xx.149.195.15 netmask=11.10.0.0/24 address=62.149.195.15 netmask=11.10.0.0/24 -----BEGIN RSA PUBLIC KEY----- MIGJAoGBAOSS48u53oNsq2B2a67oFz5zdzf18vwykY0VgGvu7UL4gI6Y49+cCdIu otVrYyGPTlkJqJtI6SoCyzQmbT4uzQ1NLV1yuIQjklEyJVT884EYCKVeSA42y5Qw v6fHeqKwNOXtfHsIrHY22YXGYVqE6F3f95VwJ77Fu9oL3GIPaPJtAgMBAAE-----END RSA PUBLIC KEY----- hosts\pc01 Address = xx.149.153.52 netmask=11.10.0.0/24 -----BEGIN RSA PUBLIC KEY----- MIGJAoGBALm/bMckYtl0fp+N94s8eho0V5xu/XDdWElwxTUNzEdehsB5i8sh9tUs VB2ZFaVBTtdi+kCw5WEyaFCQWkz0aJyuOmkIuDII7Tq/ILKl//iPhGYdCH0zrC22 T92G2G05F0BPzLPsGw33qwbYShIDsZVh+t4GC1nef1ipX9dkXb3hAgMBAAE-----END RSA PUBLIC KEY----- vpn000: 11.10.0.2 255.0.0.0 ns7: tinc.conf name=ns7 interface=vpn000 mode=switch hosts\ns7 same hosts\pc01 same vpn000: 11.10.0.1 255.0.0.0 If I use routed don't work. Tnx Sabbiolina -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.tinc-vpn.org/pipermail/tinc/attachments/20090408/b2a19cd8/attachment.htm
netmask=11.10.0.0/24 sould be subnet=11.10.0.0/24 Sabbiolina wrote:> It works only in SWITCH mode but not in ROUTER mode.[..]> If I use routed don't work.
On Wed, Apr 08, 2009 at 03:03:10PM +0200, Sabbiolina wrote:> It works only in SWITCH mode but not in ROUTER mode. > > What's mistake ? > > hosts\ns7 > netmask=11.10.0.0/24 > vpn000: 11.10.0.1 255.0.0.0 > > hosts\pc01 > Address = xx.149.153.52 > vpn000: 11.10.0.2 255.0.0.0If you want this to work in router mode, then you should put "Subnet 11.10.0.1" in the host config file of the machine with that IP address, and "Subnet = 11.10.0.2" in the other host config file. Also no /24. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.tinc-vpn.org/pipermail/tinc/attachments/20090422/2f191336/attachment.pgp