Setting up CyberGhost VPN on ASUS RT-AC51U router: error config.ovpn:23: ncp-disable (2.3.2)

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Dougaldasher
OpenVpn Newbie
Posts: 1
Joined: Sun Sep 11, 2022 11:50 am

Setting up CyberGhost VPN on ASUS RT-AC51U router: error config.ovpn:23: ncp-disable (2.3.2)

Post by Dougaldasher » Sun Sep 11, 2022 11:58 am

I'm trying to set up a CyberGhost VPN on my ASUS RT-AC51U router.

I've followed the tutorials exactly (downloaded config files, uploaded openvpn, ca, crt and key files etc) but it's still not connecting. I'm getting the following error message:

rc_service: httpd 212:notify_rc restart_vpncall
openvpn[624]: Options error: Unrecognized option or missing parameter(s) in config.ovpn:23: ncp-disable (2.3.2)
openvpn[624]: Use --help for more information.

In terms of the OpenVPN file, it reads as follows:

client
remote [removed as I think this is sensitive info but its the server info]
dev tun
proto udp
auth-user-pass
resolv-retry infinite
redirect-gateway def1
persist-key
persist-tun
nobind
cipher AES-256-CBC
ncp-disable
auth SHA256
ping 5
ping-exit 60
ping-timer-rem
explicit-exit-notify 2
script-security 2
remote-cert-tls server
route-delay 5
verb 4

Can anybody help point me in the right direction to finding a solution? I can see it's possibly something to do with the 'ncp-disable' line but I'm not sure where to go from there?

Any help would be greatly appreciated! Thanks

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Setting up CyberGhost VPN on ASUS RT-AC51U router: error config.ovpn:23: ncp-disable (2.3.2)

Post by TinCanTech » Sun Sep 11, 2022 7:42 pm

Your router is a fossil and the version of openvpn it uses is not worth the electricity to run it.

That is why you cannot use --ncp-disable.

Post Reply