[GH-ISSUE #7] tinc routing issue #4

Closed
opened 2026-02-27 01:57:18 +03:00 by kerem · 4 comments
Owner

Originally created by @KipourosV on GitHub (Jan 15, 2019).
Original GitHub issue: https://github.com/extremeshok/xshok-proxmox/issues/7

Hello and thank you for all your hard work.

I 'm testing your tinc script for 2 hosts on seperate networks.

192.168.10.1 host1
192.168.11.1 host2

I can see the vpn is running by pinging between them on the 10.10.1.x network

How can I make them talk by using their hostnames/192.168.x.x addresses?
What am I missing? Do I need to run any of your other scripts? Do I need a new routing rule?

Originally created by @KipourosV on GitHub (Jan 15, 2019). Original GitHub issue: https://github.com/extremeshok/xshok-proxmox/issues/7 Hello and thank you for all your hard work. I 'm testing your tinc script for 2 hosts on seperate networks. 192.168.10.1 host1 192.168.11.1 host2 I can see the vpn is running by pinging between them on the 10.10.1.x network How can I make them talk by using their hostnames/192.168.x.x addresses? What am I missing? Do I need to run any of your other scripts? Do I need a new routing rule?
kerem closed this issue 2026-02-27 01:57:19 +03:00
Author
Owner

@extremeshok commented on GitHub (Jan 15, 2019):

Edit your hosts file
/etc/hosts
10.10.1.1 host1
10.10.1.1 host2

When creating a cluster , you specifiy the 10.10.1.x ip's for cluster communication

<!-- gh-comment-id:454582019 --> @extremeshok commented on GitHub (Jan 15, 2019): Edit your hosts file /etc/hosts 10.10.1.1 host1 10.10.1.1 host2 When creating a cluster , you specifiy the 10.10.1.x ip's for cluster communication
Author
Owner

@KipourosV commented on GitHub (Jan 16, 2019):

I guess you mean remove the 192.168.x.x ip's and replace them with the vpn ip's?

<!-- gh-comment-id:454797374 --> @KipourosV commented on GitHub (Jan 16, 2019): I guess you mean remove the 192.168.x.x ip's and replace them with the vpn ip's?
Author
Owner

@KipourosV commented on GitHub (Jan 16, 2019):

So host1 /etc/hosts should be changed from:

127.0.0.1 localhost.localdomain localhost
192.168.10.1 host1.domain.com host1 pvelocalhost
192.168.11.1 host2.domain.com host2

to :

127.0.0.1 localhost.localdomain localhost
10.10.1.1 host1.domain.com host1 pvelocalhost
10.10.1.2 host2.domain.com host2

and host2 hosts file accordingly?

<!-- gh-comment-id:454800112 --> @KipourosV commented on GitHub (Jan 16, 2019): So host1 /etc/hosts should be changed from: 127.0.0.1 localhost.localdomain localhost 192.168.10.1 host1.domain.com host1 pvelocalhost 192.168.11.1 host2.domain.com host2 to : 127.0.0.1 localhost.localdomain localhost 10.10.1.1 host1.domain.com host1 pvelocalhost 10.10.1.2 host2.domain.com host2 and host2 hosts file accordingly?
Author
Owner

@extremeshok commented on GitHub (Jan 24, 2019):

Yes, hosts looks correct without access to your servers this is how we have done all our and clients clusters

<!-- gh-comment-id:457030347 --> @extremeshok commented on GitHub (Jan 24, 2019): Yes, hosts looks correct *without access to your servers* this is how we have done all our and clients clusters
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/xshok-proxmox#4
No description provided.