mirror of
https://github.com/extremeshok/xshok-proxmox.git
synced 2026-04-25 13:45:48 +03:00
[GH-ISSUE #7] tinc routing issue #4
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/xshok-proxmox#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
@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
@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?
@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?
@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