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