image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old January 19th, 2005, 02:21 PM
bkaron's Avatar
Yep, That's Me!
 
Join Date: Oct 2003
Location: Florida
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
bkaron is on a distinguished road
Question OpenVPN Help

I need some HELP!

I'm not too fluent in UNIX. My friend helped me compile OpenVPN and all was going good until I needed to wipe my HD (on the client computer) and I forgot to backup my OpenVPN client script. I would ask my friend to help me out, but he is out of town. I did as much as I could, I was basically relying off the "HOW TO" part of the OpenVPN website and my memory.

The following are the steps I take to get the VPN working: (normally)
1) sudo su (I will post a different subject about that, but it works)
2) cd /usr/local/sbin/openvpn
3) ./openvpn --config client.ovpn

After the steps are performed I get the following error:
Quote:
Options error: Unrecognized option or missing parameter(s) in client.ovpn:10: Keepalive
Use --help for more information.
I then proced to view the script:
1) vi client.ovpn

I don't know what to do, what are missing parameter(s)?

- Thanks!









client.ovpn (script)

Code:
#here your external router ip
remote 68.xxx.xxx.xx

proto tcp
port 443

dev tun

ifconfig 10.0.0.2 10.0.0.1
Keepalive 20 120

;secret key.txt
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
~                                                                                         
"client.ovpn" 12L, 142C
__________________
PowerBook G4
- 867MHz G4, 640MB, 80GB HD, 80GB EHD, SuperDrive, Airport, Mac OS X 10.4.8
Reply With Quote
  #2  
Old January 20th, 2005, 01:39 PM
bkaron's Avatar
Yep, That's Me!
 
Join Date: Oct 2003
Location: Florida
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
bkaron is on a distinguished road
Please help me out, any input wotld be great!
__________________
PowerBook G4
- 867MHz G4, 640MB, 80GB HD, 80GB EHD, SuperDrive, Airport, Mac OS X 10.4.8
Reply With Quote
  #3  
Old January 28th, 2005, 11:44 PM
Mac Developer
 
Join Date: Sep 2001
Location: Nashville, TN
Posts: 139
Thanks: 0
Thanked 0 Times in 0 Posts
wadesworld is on a distinguished road
Looking at the OpenVPN man page, it appears to me that the keepalive option you have specified in your config file is invalid. Remove that line and try it again.

You can view the man page here:

http://andthatsjazz.org:8/openvpn/man.html
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 09:53 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.