Hello,
My server.conf is:

port 1194
proto udp
dev tun0
ca ca.crt
cert server.crt
key server.key                              
dh dh.pem
server 10.8.0.0 255.255.255.0               
push "redirect-gateway def1 bypass-dhcp"
push "route 172.20.1.0  255.255.0.0"
push "route 172.20.50.0 255.255.255.128"
push "dhcp-option DNS 172.20.1.2"
keepalive 10 120
tls-auth ta.key 0                          
data-ciphers AES-256-CBC
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
log         /var/log/openvpn/openvpn.log
log-append  /var/log/openvpn/openvpn.log
verb 3
explicit-exit-notify 1


And client.ovpn is:

client
dev tun
proto udp
remote 192.168.1.20 1194               
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
remote-cert-tls server
tls-auth ta.key 1
data-ciphers AES-256-CBC
verb 3
172.20.1.0 via 10.8.0.0 device tun
172.20.50.0 via 10.8.0.0 device tun


 When I want to connect to the server, then I got and error and the log is:

Options error: Unrecognized option or missing or extra parameter(s) in 
Internal.ovpn:16: 172.20.1.0 (2.6.5)
Use --help for more information.

Is it a syntax error?


Thank you. 


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to