FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

12008 questions

14286 answers

22528 comments

35904 members

0 votes
274 views 0 comments
by
I could do with some assistance with following issue:

I have configured an OpenVpn Server on an RUT950 with RUT9XX_R_00.06.06.1 firmware and am getting the following SystemLog error:

Tue Mar 22 13:41:49 2022 daemon.err openvpn(server_CELOC)[19245]: Options error: Unrecognized option or missing or extra parameter(s) in [CMD-LINE]:1: route (2.4.5)             

cat /etc/config/openvpn

config openvpn 'server_CELOC'                                                                                                                                                                   

        option persist_key '1'                                                                                                                                                                  

        option keepalive '10 120'                                                                                                                                                               

        option dev 'tun_s_CELOC'                                                                                                                                                                

        option verb '5'                                                                                                                                                                         

        option _role 'server'                                                                                                                                                                   

        option proto 'udp'                                                                                                                                                                      

        option _auth 'tls'                                                                                                                                                                      

        option cipher 'AES-256-CBC'                                                                                                                                                             

        option _tls_cipher 'all'                                                                                                                                                                

        option auth 'sha1'                                                                                                                                                                      

        option _tls_auth 'none'                                                                                                                                                                 

        option ca '/lib/uci/upload/cbid.openvpn.server_CELOC.ca'                                                                                                                                

        option cert '/lib/uci/upload/cbid.openvpn.server_CELOC.cert'                                                                                                                            

        option key '/lib/uci/upload/cbid.openvpn.server_CELOC.key'                                                                                                                              

        option dh '/lib/uci/upload/cbid.openvpn.server_CELOC.dh'                                                                                                                                

        option enable '1'                                                                                                                                                                       

        list push 'route 192.168.140.0 255.255.255.0'                                                                                                                                           

        option server '10.0.0.0 255.255.255.0'                                                                                                                                                  

        option client_config_dir '/etc/openvpn/ccd'                                                                                                                                             

        option port '40322'

The exact same configuration running on an RUT950 with RUT9XX_R_00.06.05.3 firmware runs fine (although the options in /etc/config/openvpn are different).

Thanks

1 Answer

0 votes
by
I'm going to answer my own question... I've updated the RUT950 firmware to RUT9XX_R_00.06.08.6 and all good now.