dashersw/cote

How to connect my services through OpenVPN?

arvitaly opened this issue · 3 comments

Hello! Thanks for great library!
I have the multiple network interfaces on the two machines. And i have a virtual network via OpenVPN (with addresses on every machine like 10.8.0.x). How should i to config my cote?

You either need IP broadcast/multicast, or a central Redis instance on the same network.

Actually, it turned out not so easy, because in tun mode OpenVPN creates an own network on every machine (a connection works through virtual tunnel). So, I don't know a method how to make it possible.

If the machines are able to talk to each other, all they need is to talk to another Redis instance on the same network. then you configure IP addresses of each machine via environment variables.