Hello, after searching the forum and not finding a solution to my simple problem i've decided to make a post.
I have a NAS at my workplace that i want to connect to remotely over OpenVPN, it runs on Freenas and i configured the OpenVPN service witch started up fine.
The problem I'm having is with my client side configuration. I've installed OpenVPN 2.3.6 on my home machine (running Windows 8.1), thrown my config file in the config folder (xxx.xxx.xxx.xxx is my public static ip of the workplace router):
client
dev tun
dev-node Ethernet 2
proto udp
XXX.XXX.XXX.XXX 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca C:\\Program Files\\OpenVPN\\config\\ca.config
cert C:\\Program Files\\OpenVPN\config\\client.crt
key C:\\Program Files\\OpenVPN\\config\\client.key
ns-cert-type server
comp-lzo
verb 3
and i was ready to watch the fireworks....but from some reason I couldn't. When i try to start up the openvpn connection with that particular config i get the following: "Unrecognized option or missing parameter(s) in .......\client2.ovpn:5: xxx.xxx.xxx.xxx (2.3.6)"
A solution i've found was to check if the config file is saved in ASCII mode (witch it is) and to not have extra spaces or tabs (witch it doesn't).
Does anyone know what i fumbled with that config? It feels like some silly thing i've missed or overlooked is tripping me right before the doorway.
Thanks.