Hello,
I seem to have a problem with my configuration (or so it seems)
I set up a server and currently I only have a client connected (to test things before we scale it up).
Everything works as it should be except from the fact that I cannot assign static IPs using the ccd file.
When the client tries to connect I see the following in my server log ->
Options error: Unrecognized option or missing parameter(s) in C:\Program Files (x86)\OpenVPN\config\ccd\saturn:1: ifconfig-push (2.2.2)
I have tried numerous things but nothing seems to help. The client gets the 10.10.10.2 IP address although I am trying to push the 10.10.10.5 to him. This is how the config file on my server is written ->
local 192.168.1.78
port 23400
proto udp
dev tap
dev-node "Local Area Connection"
ca "C:\\Program Files (x86)\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files (x86)\\OpenVPN\\config\\sun.crt"
key "C:\\Program Files (x86)\\OpenVPN\\config\\sun.key"
dh "C:\\Program Files (x86)\\OpenVPN\\config\\dh1024.pem"
server 10.10.10.0 255.255.255.0
client-config-dir "C:\\Program Files (x86)\\OpenVPN\\config\\ccd"
route 10.10.10.0 255.255.255.0
client-to-client
keepalive 60 300
tls-auth "C:\\Program Files (x86)\\OpenVPN\\config\\ta.key"
comp-lzo
max-clients 8
persist-key
persist-tun
status openvpn-status.log
verb 5
mute 20
and the ccd file named "saturn" in the ccd directory has the following ->
ifconfig-push 10.10.10.5 10.10.10.6
But every time the client "saturn" connects i get the same message ->
Options error: Unrecognized option or missing parameter(s) in C:\Program Files (x86)\OpenVPN\config\ccd\saturn:1: ifconfig-push (2.2.2)
Can somebody please explaine to me what is wrong with the configuration ?
I searched both the forum and the internet and I could not find something usefull.
Anyway many thanks in advance!
P.S. The server is in a Win7 x64 machine.
P.S.2 There are not any other kind of problems (as far as I am concerned). We can both ping each other and the client can access shares in the server and even download them.