On Sun, 2004-01-18 at 19:02, Graham Smith wrote:
On Mon, 19 Jan 2004 11:20, Tom Nielsen wrote:
I managed to get my home connected to my office computer via openvpn. My problem is that when I tried to use the --secret key command, I get an error saying it can't find the key and won't connect.
Now, I generated the key and have one on my home system and copied the other to the office. Both are named static.key and in my home.conf, I have it set at /home/tom/openvpn/static.key. But the open vpn won't find it even though I have --secret key on my command line.
Where the hell is the static.key supposed to go? I followed the directions in the man page (which was really nice), but with no success.
Any thoughts?
Tom
In my configs for openvpn all my config scrips are located in /etc/openvpn as well as the keys. The /etc/openvpn directory is only readable by root. I suggest as a security point you do similiar.
Now in the config script you have to enter the path for the where your key file is located. e.g.
secret /etc/openvpn/static.key
I hope that helps, if not give me a yell.
When I try to connect to my office, does my home config try to read the static.key located at home or the office? Tom