Community Support Forum
 
  OpenVPN.net  •  Forum Index  •  FAQ  

It is currently Thu Apr 17, 2014 9:28 pm


Forum rules


If you would like help, here is a few things you will want to do in order to help us help you.

**Post your configs from client and server, without comments. you can strip comments in linux/bsd with something like this:
grep -vE '^#|^;|^$' server.conf
**Tell us your goal.
**If you are having problems connecting, post your logfiles from server and client after using verb 4 in both configs


Also, there are 2 things you should be aware of:

**Sometimes you cannot avoid tunneling over tcp, but if you can avoid it, DO. Why TCP Over TCP Is A Bad Idea: http://sites.inka.de/~bigred/devel/tcp-tcp.html
**You ONLY want to use dev tap if you are tunneling layer2 traffic, if you are using IP traffic you want tun. If you are using tap only for windows file sharing, look into running a WINS server instead.



Post new topic Reply to topic  [ 6 posts ] 
 Create ovpn client file 
Author Message
 Post subject: Create ovpn client file
PostPosted: Fri Mar 04, 2011 4:49 pm 
OpenVpn Newbie

Joined: Tue Jan 04, 2011 11:20 pm
Posts: 8
Is is possible to merge all the client files (.crt, .key, etc) into on .ovpn file? Is so how?


Thanks!


Offline
 Profile  
 
 Post subject: Re: Create ovpn client file
PostPosted: Fri Mar 04, 2011 8:13 pm 
Forum Team
User avatar

Joined: Wed Aug 27, 2008 2:41 am
Posts: 266
dad311 wrote:
Is is possible to merge all the client files (.crt, .key, etc) into on .ovpn file? Is so how?


Thanks!


I don't believe so, but it might be interesting to find out there is. I'll keep an eye on this.

_________________
Proud co-founder of the OpenVPN forums
simplywww, llc: mmmm, directadmin goodness!


Offline
 Profile  
 
 Post subject: Re: Create ovpn client file
PostPosted: Fri Mar 04, 2011 10:01 pm 
Forum Team
User avatar

Joined: Fri Aug 20, 2010 2:57 pm
Posts: 2702
Location: Amsterdam
with openvpn 2.1 it is: use the newer XML-style format:

cert [inline]
key [inline]
ca [inline]

<cert>
... insert client.crt here
</cert>

<key>
... insert client.crt here
</key>

<ca>
... insert client.crt here
</ca>

_________________
JJK / Jan Just Keijser
http://www.nikhef.nl/~janjust/vpn/OpenVPN2-Cookbook/index.html
http://www.nikhef.nl/~janjust/vpn/OpenVPN2-Cookbook/errata.html


Offline
 Profile  
 
 Post subject: Re: Create ovpn client file
PostPosted: Tue Mar 08, 2011 8:12 am 
Forum Team
User avatar

Joined: Wed Jan 12, 2011 9:23 am
Posts: 2790
Location: Athens,Greece
>with openvpn 2.1 it is: use the newer XML-style format:

didnt know that.

thank you janjust.

ps:also for tls add: tls-auth [inline] 1
<tls-auth>
key...
</tls-auth>

michael.

_________________
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Mitsubishi Evo IX Rules! (HKS EVC-S ,HKS TBE,HKS suction kit ,HKS Type R IC,Walbro 255 ,HKS 272/278, Motec m800OEM)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)


Offline
 Profile  
 
 Post subject: Re: Create ovpn client file
PostPosted: Thu Dec 22, 2011 12:08 pm 
OpenVPN User

Joined: Fri Jul 29, 2011 5:32 am
Posts: 25
i tried this but it didn't work? :lol:

<auth-user-pass>
username
password
</auth-user-pass>


can someone tell me how to include auth-user-pass on the ovpn file?


Offline
 Profile  
 
 Post subject: Re: Create ovpn client file
PostPosted: Thu Dec 22, 2011 12:27 pm 
Forum Team
User avatar

Joined: Fri Aug 20, 2010 2:57 pm
Posts: 2702
Location: Amsterdam
very simple: you can't. if openvpn is compiled with the right settings you can store the username+password in a file, but you cannot store it inside the config file.

_________________
JJK / Jan Just Keijser
http://www.nikhef.nl/~janjust/vpn/OpenVPN2-Cookbook/index.html
http://www.nikhef.nl/~janjust/vpn/OpenVPN2-Cookbook/errata.html


Offline
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


 Who is online 

Users browsing this forum: No registered users and 0 guests


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

Jump to:  


phpBB SEO
[ Time : 0.192s | 14 Queries | GZIP : On ]

 
Index  |  FAQ


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group