It is currently 24.03.2017 14:02


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Changing the "To-IPCOP" setting?
PostPosted: 16.02.2010 21:58 
DES
DES

Joined: 16.02.2010 21:52
Posts: 2
Hi,

I am setting up an IPCop + Zerina server for a small company and want to know if there's a way to alter the name of the profile within the client package download. For example if I set up "User1" and click on the "Download Client Package (zip)" button on the web page it will bring down a zip file that contains two files. One is the user1.p12 file and the other is the user1-TO-IPCOP.ovpn file. I would like to alter the files automatically so that the ovpn file reasons something more like user1-server1.ovpn without having to manually edit this file. Anyone know how this is done?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Changing the "To-IPCOP" setting?
PostPosted: 17.02.2010 18:45 
Profi
Profi

Joined: 23.10.2007 12:10
Posts: 2165
wolfr1 wrote:
Hi,

it will bring down a zip file that contains two files. One is the user1.p12 file and the other is the user1-TO-IPCOP.ovpn file. I would like to alter the files automatically so that the ovpn file reasons something more like user1-server1.ovpn without having to manually edit this file. Anyone know how this is done?


user1 is the common_name of that certificate...
10 Users have 10 (different) certificates with each a different common name.
Client -IP-Number may be used by ccd-directories , again identified by their common name.
PSK (pre shared key) allows only ONE roadwarrior

F.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Changing the "To-IPCOP" setting?
PostPosted: 18.11.2010 21:19 
DES
DES

Joined: 16.02.2010 21:52
Posts: 2
Even though this thread is old I thought I'd post what I found that resolves what I was looking for:

Edit the following file: /home/httpd/cgi-bin/ovpnmain.cgi
Search for: -TO-IPCop
Change to: whatever you want.

There should be two entries to change. One for the ZIP file and one for the OVPN file within it.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Changing the "To-IPCOP" setting?
PostPosted: 19.11.2010 11:39 
Profi
Profi

Joined: 23.10.2007 12:10
Posts: 2165
using ccd - there is no IPCop/Zerina WebGUI.
Use an simple editor and add correct at ./ccd directory
add ccd in server.conf the ccd-entries
and it should work.
there are some examplesd for working with ccd in the web and I believe ever here in the forumarchieve.
Not first time asked question :)
the only reral important ist: you will have to use the common names of certificates for ccd-filename!
for filecontent see www.openvpn.net as one example.

F.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ]  Moderator: Moderators

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net