Hi, Thanks to John Wice for helping me with an earlier question. My two PCs behind the same router are still having problems connecting. Would appreciate thoughts on what I?m doing wrong? Router: Port 655 forwarded to 192.168.1.45, both TCP and UDP Port 656 forwarded to 192.168.1.51, both TCP and UDP Machine #1. ========= Local IP address on LAN = 192.168.1.45 Windows Firewall allows all incoming TCP and UDP traffic for the Tinc.TincVPN service. Tinc.conf: Name = Adam ConnectTo = Erika Interface = TincVPN BindToAddress = 192.168.1.45 655 Hosts/Adam: Address = XYZ.ddns.org [WAN IP address, of router] Port = 655 Subnet = 192.168.1.45 Hosts/Erika: As below Machine #2. ========= Local IP address on LAN = 192.168.1.51 Windows Firewall allows all incoming TCP and UDP traffic for the Tinc.TincVPN service. Tinc.conf: Name = Erika ConnectTo = Adam Interface = TincVPN BindToAddress = 192.168.1.51 656 Hosts/Erika: Address = XYZ.ddns.org [WAN IP address, of router, same as above] Port = 656 Subnet = 192.168.1.51 Hosts/Adam: As above Cheers, Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20150713/9cf34f96/attachment.html>
Make sure your router supports nat reflection and has it enabled. On Mon, Jul 13, 2015 at 5:44 PM, Adam Macielinski <adam at macielinski.net> wrote:> Hi, > > > > Thanks to John Wice for helping me with an earlier question. My two PCs > behind the same router are still having problems connecting. Would > appreciate thoughts on what I?m doing wrong? > > > > Router: > > Port 655 forwarded to 192.168.1.45, both TCP and UDP > > Port 656 forwarded to 192.168.1.51, both TCP and UDP > > > > Machine #1. > > =========> > Local IP address on LAN = 192.168.1.45 > > Windows Firewall allows all incoming TCP and UDP traffic for the > Tinc.TincVPN service. > > > > Tinc.conf: > > Name = Adam > > ConnectTo = Erika > > Interface = TincVPN > > BindToAddress = 192.168.1.45 655 > > > > Hosts/Adam: > > Address = XYZ.ddns.org [WAN IP address, of router] > > Port = 655 > > Subnet = 192.168.1.45 > > > > Hosts/Erika: > > As below > > > > Machine #2. > > =========> > Local IP address on LAN = 192.168.1.51 > > Windows Firewall allows all incoming TCP and UDP traffic for the > Tinc.TincVPN service. > > > > Tinc.conf: > > Name = Erika > > ConnectTo = Adam > > Interface = TincVPN > > BindToAddress = 192.168.1.51 656 > > > > Hosts/Erika: > > Address = XYZ.ddns.org [WAN IP address, of router, same as above] > > Port = 656 > > Subnet = 192.168.1.51 > > > > Hosts/Adam: > > As above > > > > > > Cheers, > > Adam > > > > > > > > > _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc >
BindToAddress = 192.168.1.45 655 Subnet = 192.168.1.45 You should use different IP ranges for inside the VPN and outside of it - otherwise your OS does not now how to reach the destination IP correctly. So for example change the Subnet statements to 192.168.2.x Greetings Haegar On Mon, 13 Jul 2015, Donald Pearson wrote:> Make sure your router supports nat reflection and has it enabled. > > On Mon, Jul 13, 2015 at 5:44 PM, Adam Macielinski <adam at macielinski.net> wrote: > > Hi, > > > > > > > > Thanks to John Wice for helping me with an earlier question. My two PCs > > behind the same router are still having problems connecting. Would > > appreciate thoughts on what I?m doing wrong? > > > > > > > > Router: > > > > Port 655 forwarded to 192.168.1.45, both TCP and UDP > > > > Port 656 forwarded to 192.168.1.51, both TCP and UDP > > > > > > > > Machine #1. > > > > =========> > > > Local IP address on LAN = 192.168.1.45 > > > > Windows Firewall allows all incoming TCP and UDP traffic for the > > Tinc.TincVPN service. > > > > > > > > Tinc.conf: > > > > Name = Adam > > > > ConnectTo = Erika > > > > Interface = TincVPN > > > > BindToAddress = 192.168.1.45 655 > > > > > > > > Hosts/Adam: > > > > Address = XYZ.ddns.org [WAN IP address, of router] > > > > Port = 655 > > > > Subnet = 192.168.1.45 > > > > > > > > Hosts/Erika: > > > > As below > > > > > > > > Machine #2. > > > > =========> > > > Local IP address on LAN = 192.168.1.51 > > > > Windows Firewall allows all incoming TCP and UDP traffic for the > > Tinc.TincVPN service. > > > > > > > > Tinc.conf: > > > > Name = Erika > > > > ConnectTo = Adam > > > > Interface = TincVPN > > > > BindToAddress = 192.168.1.51 656 > > > > > > > > Hosts/Erika: > > > > Address = XYZ.ddns.org [WAN IP address, of router, same as above] > > > > Port = 656 > > > > Subnet = 192.168.1.51 > > > > > > > > Hosts/Adam: > > > > As above > > > > > > > > > > > > Cheers, > > > > Adam > > > > > > > > > > > > > > > > > > _______________________________________________ > > tinc mailing list > > tinc at tinc-vpn.org > > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc > > > _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc >c'ya sven-haegar -- Three may keep a secret, if two of them are dead. - Ben F.