hi all,

one of my colleagues is running into a strange problem with openvpn 
2.3.6 on Mac OS:
the routes pushed by the server all are rejected with the message

   option 'route' cannot be used in this context ([PUSH-OPTIONS])

the same config works on Linux, Windows and other Mac OS (Tunnelblick) 
clients.
The client config is very basic. What would cause this message?

(real IPs altered below)

Fri Dec 19 10:17:45 2014 us=816667 OpenVPN 2.3.6 x86_64-apple-darwin 
[SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Dec  1 2014
Fri Dec 19 10:17:45 2014 us=816692 library versions: OpenSSL 1.0.1j 15 
Oct 2014, LZO 2.08
[...]
Fri Dec 19 10:17:51 2014 us=677172 SENT CONTROL [vpn.example.org]: 
'PUSH_REQUEST' (status=1)
WRRWRWRWRWRWRWRFri Dec 19 10:17:51 2014 us=687747 PUSH: Received control 
message: 'PUSH_REPLY,ifconfig-ipv6 2001:610:120:e031::1007/64 
2001:610:120:e031::1,route 221.221.96.0 255.255.248.0 vpn_gateway 
25,route 172.16.0.0 255.248.0.0 vpn_gateway 25,route 222.222.199.0 
255.255.255.0 vpn_gateway 25,route 222.222.185.0 255.255.255.0 
vpn_gateway 25,route 223.223.4.0 255.255.252.0 vpn_gateway 25,route 
222.222.191.61 255.255.255.255 vpn_gateway 25,route 221.221.97.13 
255.255.255.255 net_gateway,dhcp-option DISABLE-NBT,dhcp-option DNS 
221.221.97.228,dhcp-option DOMAIN example.org,tun-ipv6,route 
10.200.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.200.0.34 
10.200.0.33'
Fri Dec 19 10:17:51 2014 us=687834 Options error: option 'route' cannot 
be used in this context ([PUSH-OPTIONS])
Fri Dec 19 10:17:51 2014 us=687861 Options error: option 'route' cannot 
be used in this context ([PUSH-OPTIONS])
Fri Dec 19 10:17:51 2014 us=687885 Options error: option 'route' cannot 
be used in this context ([PUSH-OPTIONS])
Fri Dec 19 10:17:51 2014 us=687908 Options error: option 'route' cannot 
be used in this context ([PUSH-OPTIONS])
Fri Dec 19 10:17:51 2014 us=687932 Options error: option 'route' cannot 
be used in this context ([PUSH-OPTIONS])
Fri Dec 19 10:17:51 2014 us=687955 Options error: option 'route' cannot 
be used in this context ([PUSH-OPTIONS])
Fri Dec 19 10:17:51 2014 us=687978 Options error: option 'route' cannot 
be used in this context ([PUSH-OPTIONS])
Fri Dec 19 10:17:51 2014 us=688005 Options error: option 'dhcp-option' 
cannot be used in this context ([PUSH-OPTIONS])
Fri Dec 19 10:17:51 2014 us=688031 Options error: option 'dhcp-option' 
cannot be used in this context ([PUSH-OPTIONS])
Fri Dec 19 10:17:51 2014 us=688056 Options error: option 'dhcp-option' 
cannot be used in this context ([PUSH-OPTIONS])
Fri Dec 19 10:17:51 2014 us=688081 Options error: option 'route' cannot 
be used in this context ([PUSH-OPTIONS])
Fri Dec 19 10:17:51 2014 us=688124 OPTIONS IMPORT: timers and/or 
timeouts modified
Fri Dec 19 10:17:51 2014 us=688143 OPTIONS IMPORT: --ifconfig/up options 
modified
Fri Dec 19 10:17:51 2014 us=691373 Opened utun device utun0
Fri Dec 19 10:17:51 2014 us=691408 do_ifconfig, tt->ipv6=1, 
tt->did_ifconfig_ipv6_setup=1
Fri Dec 19 10:17:51 2014 us=691486 /sbin/ifconfig utun0 delete
ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address
Fri Dec 19 10:17:51 2014 us=696497 NOTE: Tried to delete pre-existing 
tun/tap instance -- No Problem if failure
Fri Dec 19 10:17:51 2014 us=696584 /sbin/ifconfig utun0 10.200.0.34 
10.200.0.33 mtu 1500 netmask 255.255.255.255 up

TIA,

JJK


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to