Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OepnVPN startup problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
linuxpyro
Apprentice
Apprentice


Joined: 08 Sep 2004
Posts: 255

PostPosted: Sat Sep 24, 2005 5:32 pm    Post subject: OepnVPN startup problem Reply with quote

I'm sorry if this is a n00bish question, but I haven't been able to find anything out about this. I'm trying to set up OpenVPN between my home network and a remote network. Thus far I've configured it mainly according to these guides: https://forums.gentoo.org/viewtopic-t-233080-highlight-openvpn+trouble.html and http://gentoo-wiki.com/HOWTO_OpenVPN_primer. My problem is that when I try to start the server using /etc/init.d/openvpn start, I get this error:
Code:

* Starting openvpn for gateway ...                                       [ !! ]
* Expected /etc/openvpn/gateway.conf to be a directory containing a local.conf.
* Expected /etc/openvpn/secret.key to be a directory containing a local.conf.

In my /etc/openvpn directory I have my local.conf in a directory called gateway. I have a symlink from gateway/local.conf to gateway.conf. I have the file secret.key in /etc/openvpn also, but it is the actual file, not a symlink.

Thanks in advance.
Back to top
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Sat Sep 24, 2005 8:00 pm    Post subject: Reply with quote

With the new openvpn initscript, everything under /etc/openvpn must be directories. The symlink gateway.conf can be deleted, the key moved to the appropriate location.
Back to top
View user's profile Send private message
linuxpyro
Apprentice
Apprentice


Joined: 08 Sep 2004
Posts: 255

PostPosted: Sun Sep 25, 2005 1:45 am    Post subject: Reply with quote

Thanks, now it doesn't give that error anymore. :D Now I just need to set up the config files...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum