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

Transfer Server Certs/Keys to New Server? #457

Closed
kyle95wm opened this issue Jan 28, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@kyle95wm
Copy link

commented Jan 28, 2018

So right now, I'm running PiVPN on a virtual machine. Everyone has a config file installed on their device.

How would I go about moving the PiVPN stuff to a new system? Which files would I essentially need to copy over? Would I need to modify anything in the process?

Basically, the end-goal would be, transferring PiVPN from Server A (old) to Server B (new), and allow everyone who has connected before, to connect to the NEW server using the same profile.

Sorry if this is the wrong place to post this. Maybe someone can implement this as a feature, like a pivpn transfer command to make the process easier

@kyle95wm

This comment has been minimized.

Copy link
Author

commented Jan 28, 2018

Okay, so I just spun up a new PiVPN instance, installed the software.

On the old server I ran scp -pr openvpn/* root@192.168.101.124:/etc/openvpn/

Everything seems to be working perfectly. Would there be any issues with doing it this way?

@4s3ti 4s3ti added the information label Feb 21, 2018

@4s3ti

This comment has been minimized.

Copy link
Contributor

commented Feb 21, 2018

Hi @kyle95wm That's really awesome input here!! I think this question already came up some time ago ... Thanks a lot for providing us with the result of your tests!!

I don't see any issue of using that procedure, securitywise scp is ok and trafic goes encrypted so 👍 on that.

The only thing people need to be aware is to fix the IP addresses of the client.ovpn files and /etc/server.conf if applicable.

Will Add that to our FAQ!!

@4s3ti

This comment has been minimized.

Copy link
Contributor

commented Feb 21, 2018

Done!

Thank you a lot @kyle95wm

Closing Issue

@4s3ti 4s3ti closed this Feb 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.