Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the same keys in differents servers #238

Open
Chemyto opened this issue Nov 17, 2023 · 4 comments
Open

Use the same keys in differents servers #238

Chemyto opened this issue Nov 17, 2023 · 4 comments

Comments

@Chemyto
Copy link

Chemyto commented Nov 17, 2023

I am using cloak+openvpn as a client on a router with openwrt. I have two servers, would it be possible to use the same keys and uid?. That way, I wouldn't have to reload the cloak config on openwrt, just the openvpn configuration file. Great job

@cbeuw
Copy link
Owner

cbeuw commented Nov 17, 2023

So long as both servers are kept secure, this is fine

@Chemyto
Copy link
Author

Chemyto commented Nov 17, 2023

I tried, but it doesn't work

@cbeuw
Copy link
Owner

cbeuw commented Nov 17, 2023

Ah sorry I misunderstood what you meant. You need to specify which server Cloak client connects to and there can only be one at a time. One Cloak client cannot connect to two servers simultaneously.

However you can run two Cloak client instances at the same time listening on different ports, then you can switch OpenVPN config to connect to different clients.

@Chemyto
Copy link
Author

Chemyto commented Nov 17, 2023

Ok, thank you. I am currently using it from China and it has been working perfectly for days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants