Openvpn's basic setup worked fine. I am just working on creating keys so I can establish an auto connection on the client side (server 2).
Although following this guide http://www.ossramblings.com/configur...n_ubuntu_hardy
gives me this error:
Using configuration from /etc/openvpn/openssl.cnf
/etc/openvpn/keys/index.txt: No such file or directory
unable to open '/etc/openvpn/keys/index.txt'
31286:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('/etc/openvpn/keys/index.txt','r')
31286:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:
when I create the keys with
But I figure the keys will still be created even if there's that error, right?
Anyway, on the basic(documentation) open vpn setup, I can access the files both by using samba or nfs.
I have realized that mounting the folders of server 1 on server 2 via either samba or nfs results in those folders being unavailable once the internet connection is not available.
I mounted nfs this way
mount 192.168.1.20:/export/share /home/user/share
I was just testing so I didn't mount in /etc/fstab
Is there a way server 2 can still have the files in its folder /home/user/share/
even when the connection is absent?