Check my config files please

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
preemz
OpenVpn Newbie
Posts: 2
Joined: Sun Jan 02, 2011 8:05 pm

Check my config files please

Post by preemz » Mon Jan 03, 2011 4:11 am

Sun Jan 02 20:29:03 2011 OpenVPN 2.1.4 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Nov 8 2010
Sun Jan 02 20:29:03 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sun Jan 02 20:29:03 2011 Cannot load certificate file client.crt#: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib
Sun Jan 02 20:29:03 2011 Exiting



I have the .crt in the folder.


client

dev tap

#dev-node MyTAP #If you renamed your TAP interface or have more than one TAP interface then remove the # at the beginning and change "MyTAP" to its name

proto udp

remote 79.142.71.93 1194 #You will need to enter you dyndns account or static IP address here. The number following it is the port you set in the server's config

route 192.168.27.53 255.255.255.0 vpn_gateway 3 #This it the IP address scheme and subnet of your normal network your server is on. Your router would usually be 192.168.1.1

resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt.
cert client.crt# Change the next two lines to match the files in the keys directory. This should be be different for each client.
key client.key# This file should be kept secret
ns-cert-type server
cipher BF-CBC # Blowfish (default) encrytion
comp-lzo
verb 1

Cephalon
OpenVpn Newbie
Posts: 6
Joined: Mon Jan 03, 2011 6:25 pm

Re: Check my config files please

Post by Cephalon » Mon Jan 03, 2011 6:31 pm

Try to use the full path to files like:
ca /etc/openvpn/ca.crt

Post Reply