Good day! Please, help me resolve following problem: there are two computers - one is my home computer (Comp1), and other - computer (Comp2) in LAN of my office. Comp1 have DSL connection to the Internet and dynamic ip address, for example 88.147.128.210, Comp2 is located behind firewall (external address x.x.x.x, internal 192.168.1.26) and his ip - 192.168.1.10. What i want: setup tinc on Comp2 as a server and connect to him with Comp1 (tinc as client). How to realize this model? What i do: On Comp2 tinc.conf ================================================================Name = Comp2 Interface = tap0 folder hosts consist two files Comp1 Subnet = 10.20.30.2/32 -----BEGIN RSA PUBLIC KEY----- MIGJAoGBANLxhYkz/GYOpOmwXhu+dBmERWZdlL1kt0MHKr+WxaQSQPwE+Ynr3dcJ 3Zzp9BpaslkvksfgvklkgkalksJEe3FB33PQi8IzZbciXvsDnIk5hhasbhOsTb4Y 7CJHfwOWgj8vBW+rjsXyipCHFrGeX3s6pbgLDWAXmejGgCRI+ISPAgMBAAE-----END RSA PUBLIC KEY----- Comp2 Address = 192.168.1.10 Port = 655 Subnet = 10.20.30.0/24 -----BEGIN RSA PUBLIC KEY----- MIGJAoGBAMJcxWlp8hU9C2LF+81NvCgUMcvkNdxXBQU088rRt8Thp6aWXl2o5J20 VOUdThaEeXs62Bf7Bt6Frs+LmpkBjn2hAmWUi+mfTTnz8uhFr6v2U3s4tt7lanpE pjUsShXsNuIlLJlkKJlkjerwatpouixz30A4Eeh5/x1HM/Z3Ig7fOTF/AgMBAAE-----END RSA PUBLIC KEY----- On Comp1 tinc.conf ================================================================ Name = Comp1 Interface = tap0 ConnectTo = Comp2 folder hosts consist two files Comp1 Subnet = 10.20.30.2/32 -----BEGIN RSA PUBLIC KEY----- MIGJAoGBANLxhYkz/GYOpOmwXhu+dBmERWZdlL1kt0MHKr+WxaQSQPwE+Ynr3dcJ 3Zzp9BpaslkvksfgvklkgkalksJEe3FB33PQi8IzZbciXvsDnIk5hhasbhOsTb4Y 7CJHfwOWgj8vBW+rjsXyipCHFrGeX3s6pbgLDWAXmejGgCRI+ISPAgMBAAE-----END RSA PUBLIC KEY----- Comp2 Address = x.x.x.x Subnet = 10.20.30.0/24 -----BEGIN RSA PUBLIC KEY----- MIGJAoGBAMJcxWlp8hU9C2LF+81NvCgUMcvkNdxXBQU088rRt8Thp6aWXl2o5J20 VOUdThaEeXs62Bf7Bt6Frs+LmpkBjn2hAmWUi+mfTTnz8uhFr6v2U3s4tt7lanpE pjUsShXsNuIlLJlkKJlkjerwatpouixz30A4Eeh5/x1HM/Z3Ig7fOTF/AgMBAAE-----END RSA PUBLIC KEY----- Is this right? mailto:kazurovsg at yandex.ru
On Tue, Jul 15, 2008 at 04:21:43PM +0400, ?????? ??????? wrote:> there are two computers - one is my home > computer (Comp1), and other - computer (Comp2) in LAN of my > office. Comp1 have DSL connection to the Internet and dynamic > ip address, for example 88.147.128.210, Comp2 is located behind > firewall (external address x.x.x.x, internal 192.168.1.26) and his > ip - 192.168.1.10. What i want: setup tinc on Comp2 as a server > and connect to him with Comp1 (tinc as client). How to realize > this model?[...] Your configuration is basically OK. However, you have overlapping subnets. You have to configure the interfaces properly. If you mail me your tinc-up scripts, I can review them. -- 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/20080715/999d8b08/attachment.pgp
I use tinc in Windows, is it ok? Therefore i not use tinc-up scripts and set ip addresses of TAP interfaces manually. If you need any info - tell me, i`ll send it to you e-mail. mailto:kazurovsg at yandex.ru
On Wed, Jul 16, 2008 at 02:22:55PM +0400, ?????? ??????? wrote:> I use tinc in Windows, is it ok? Therefore i not > use tinc-up scripts and set ip addresses of TAP > interfaces manually. If you need any info - tell me, > i`ll send it to you e-mail.Yes, please send me the settings of the TAP interfaces. -- 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/20080716/08751359/attachment.pgp