What's new

Closed VPS OPENVPN SAME CA CETIFICATE FILE?

Status
Not open for further replies.

WAMEZACH

Forum Expert
Elite
Sinu po dito may script o may alam ng paginstall ng openvpn na same certifcate sa lahat ng ip NG VPN SERVERS? panu po yun thanks sana may makapansin sa mga masters diyan.

561479
cat
 

Attachments

Last edited:
sa server na pag gagayahan nyo ng certificate, login po kayu dun
punta po kayu /etc/openvpn
Code:
cd /etc/openvpn
kopyahin nyo lang po ung tatlo
Code:
ca.crt, server.crt, server.key
then archive po using zip command:
Code:
zip -r mycerts.zip ca.crt server.crt server.key
then upload nyo po sa transfer.sh para masend nyo po sa kabilang server:
Code:
curl --upload-file ./mycerts.zip https://transfer.sh
may lalabas po na link, copy nyo po un, paste sa notepad,

now gawin nyo po sa kabilang server, stop nyo po muna openvpn service
Code:
service openvpn stop
then punta po kayu sa /etc/openvpn, delete nyo po yang tatlo ca.crt server.crt server.key
Code:
cd /etc/openvpn && rm ca.crt server.crt server.key
now, DL nyo po ung zip copy nyo ng mycerts.zip
Code:
wget https://transfer.sh/H8gJ2/mycerts.zip # example link lang po yan, kopyahin nyo po ung sainyo
then unzip
Code:
unzip mycerts.zip
then start openvpn
Code:
service openvpn start
 
Status
Not open for further replies.

Similar threads

Back
Top