Community Support Forum
 
  OpenVPN.net  •  Forum Index  •  FAQ  

It is currently Sun Apr 20, 2014 11:27 pm




Post new topic Reply to topic  [ 2 posts ] 
 tls-auth 
Author Message
 Post subject: tls-auth
PostPosted: Thu Apr 04, 2013 5:09 pm 
OpenVpn Newbie

Joined: Thu Apr 04, 2013 5:06 pm
Posts: 5
Hello,

I am trying to use OpenVPN Connect on iOS. I have working setup from Windows boxes,
Linux boxes and Android phones, but have much trouble with iPhone. I created following config:

Code:
remote vpn.acsystemy.pl 1194
remote vpn2.acsystemy.pl 1194
client
fragment 1000
dev tun
proto udp
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
ns-cert-type server
tls-auth ta.key 1
cipher AES-256-CBC
verb 3

<ca>
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
</ca>

<cert>
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
</cert>

<key>
-----BEGIN RSA PRIVATE KEY-----
xxx
-----END RSA PRIVATE KEY-----
</key>


But I have no idea where to put ta.key - should I embedd it in config or send it as a file? Also when sending ovpn file (via iTunes) it doesn't get detected by OpenVPN Connect on my phone. How to make it see that file?

Thanks!


Offline
 Profile  
 
 Post subject: Re: tls-auth
PostPosted: Fri Apr 05, 2013 9:06 am 
OpenVpn Newbie

Joined: Thu Apr 04, 2013 5:06 pm
Posts: 5
After some googling i found out that it was <tls-auth> and key-direction 1. So something like this:

Code:
key-direction 1

<tls-auth>
... contents of ta.key
</tls-auth>


Sorry for trouble


Offline
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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.210s | 14 Queries | GZIP : On ]

 
Index  |  FAQ


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