in my case, i am using openvpn server running at IPCOP. You can see the manual from here.
the first, using PKCs file;
1. install openvpn from synaptec package manager
2. download file pkcs file and configuration from your ipcop machine to /etc/openvpn on zip fle. and you will get 2 file, example con1.p12 and con2ipcop.opvn.
3. copy both of file to /etc/openvpn
4. rename file con2ipcop.opvn to con2ipcop.conf
5. open terminal run the below command
$sudo /etc/openvpn/opevpn con2ipcop.conf
6. you have connected to vpn server and press Crtl+c to close connection
the second, using network manager
1. extrak pkcs file to cert and key file with following command;
openssl pkcs12 -nocerts -in con1.p12 -out userkey.pem
openssl pkcs12 -nokeys -clcerts -in con1.p12 -out usercert.pem
openssl pkcs12 -nokeys -cacerts -in con1.p12 -out userca.pem
2. put the file from step 1 to network manager as following picture

3. ready to go.
Mas tutorial nya pas banget dengan tugas saya sekarang,
ReplyDeletesaya kebetulan menggunakan ipcop dan ubuntu 9.10 saya udah install openvpn di ubuntu tapi waktu saya download dari openvpn ipcop ( zerina ) tidak ada file yang ext.opvn.yang ada hanya example con1.p12 untuk dapetin file *.opvn. itu dimana ya?
tujuan saya pake openvpn ada tugas dari kantor untuk remote server dari rumah
network kantor saya Internet--modem--ipcop--Win2k3Server,nah saya sebenarnya mau remote server windows2k3 server
Mohon bantuannya karena saya lagi membutuhkan
terima kasih
dari dedi
ReplyDeleteoya mas saya yang comment di atas oke untuk untuk file *.opvn nya sudah ketemua ternyata di file *.zip tapi masalahnya lagi pas saya mau mendapetkan ke 3 file itu bingung gimana cara nya?
sekarang sudah di bagian ini
$sudo /etc/openvpn/opevpn con2ipcop.conf
6. you have connected to vpn server and press Crtl+c to close connection
the second, using network manager
1. extrak pkcs file to cert and key file with following command;
openssl pkcs12 -nocerts -in con1.p12 -out userkey.pem
openssl pkcs12 -nokeys -clcerts -in con1.p12 -out usercert.pem
openssl pkcs12 -nokeys -cacerts -in con1.p12 -out userca.pem
thanks mas atas artikelnya..klo masalah sm mas yg diatas gmn tu mas..?
ReplyDeletebagian yang anda tanyakan itu adalah untuk menjalankan openvpn dan step 6 itu untuk menghentikan koneksi vpn.
ReplyDeletesetalah langkah 5, coba ping ke server vpn anda ( ke ip privatenya). jika berhasil maka koneksi sudah terbentuk.
3 file yang mana maksudnya? klo 3 file certificate itu ada cara untuk mengextracnya.