Dear Mike,
Sorry for me to confuse you about that. My requirement is a network to be bridged and all tinc hosts can connect to NetworkA hosts vice versa. After tried your instruction and bridged the virtual tuntap adapter and NetworkA LAN adapter. The PC B is still unable to ping and connect to PC A "192.168.254.2". However, PC B can connect and ping to NetworkA tinc hosts IP address "192.168.254.1" only. Any idea? Thanks, Eric From: Mike Bentzen [mailto:[email protected]] Sent: Wednesday, April 25, 2012 5:01 AM To: [email protected] Subject: Re: tinc router mode on Windows 7 Hi Eric, Do you need router mode? You'll probably want switch mode for this, not router mode. Your email isn't very descriptive of what you require - but do you actually need the whole network to be bridged? If you only have 3 hosts you want to connect, it's probably easier just to install tinc on all three hosts. If you do require a network to be bridged (this is using switch mode), do this: * Change line to Mode = switch in tinc.conf on NetworkA and add the same line in tinc.conf on PCA * Remove the Subnet lines from your hosts files * Add a bridge on NetworkA host running the tinc daemon between the virtual tuntap adapter and your local network adapter * Make sure ipforwarding is enabled on NetworkA host running the tinc daemon * Put in the route on PC B Hopefully I haven't missed anything - this should work. Mike On 25/04/2012 1:08 AM, Eric Yau wrote: Dear All, I am trying to enable router mode of tinc on Windows 7 platform. Although I have enabled the router mode and IP routing in Windows 7 PC (Network A Server). The PC B is still unable to connect the Network A and PC A. But the Network A and PC A is able to communicate each other via tinc. Please help and advise me any incorrect of that. Network A server Real - LAN adapter IP: 192.168.1.1 tincVPN IP: 192.168.254.1 IP routing enabled = yes Tinc.conf (Network A) AddressFamily = ipv4 Name = NetworkA Interface = tincVPN Mode = Router NetworkA Subnet = 192.168.254.0/24 -----BEGIN RSA PUBLIC KEY----- XXX -----END RSA PUBLIC KEY----- Tinc.conf (PC A) AddressFamily = ipv4 Name = PCA Interface = tincVPN ConnectTo = NetworkA PC A Subnet = 192.168.254.2/32 -----BEGIN RSA PUBLIC KEY----- XXX -----END RSA PUBLIC KEY----- PC B PC B doesn't have install the tinc. I just added the below route on PC B. And PC B is able to communicate Network A LAN IP 192.168.1.1 C:\> route add 192.168.254.0 mask 255.255.255.0 192.168.1.1 Thanks, Eric P Please consider your environmental responsibility. Before printing this e-mail message, ask yourself whether you really need a hard copy. _______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
_______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
