View previous topic :: View next topic |
Author |
Message |
linuxpyro Apprentice
Joined: 08 Sep 2004 Posts: 255
|
Posted: Sat Sep 24, 2005 5:32 pm Post subject: OepnVPN startup problem |
|
|
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 |
|
|
jamapii l33t
Joined: 16 Sep 2004 Posts: 637
|
Posted: Sat Sep 24, 2005 8:00 pm Post subject: |
|
|
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 |
|
|
linuxpyro Apprentice
Joined: 08 Sep 2004 Posts: 255
|
Posted: Sun Sep 25, 2005 1:45 am Post subject: |
|
|
Thanks, now it doesn't give that error anymore. Now I just need to set up the config files... |
|
Back to top |
|
|
|