I have an openvpn server on a Pi4B set up using the angrystan script (so I don’t know much about open vpn) and it generates conf files which work perfectly on the android client or windows 10 client. When I try it on a 300n v2 I get this error message.
SIGHUP[connection (soft),init_instance] received, process restarting
Unrecognized option or missing or extra
parameter(s) in /etc/openvpn/ovpn1/Mangoovpn.ovpn:18: block outside-dns (2.5.2)
OpenVPN 2.5.2 mipsel-openwrt-linux-gnu [SSL (OpenSSL)] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
library versions: OpenSSL 1.1.1k 25 Mar 2021
Restart pause, 5 second(s)
The start of the config file looks like:
I used the Angrystan script to setup my OpenVPN servers on some ARM based cloud servers. Here is my client config file, which is running on a GL iNet AR750s right now. I am using firmware 3.212 beta 1 but it also works with firmware 3.203.
remote xxx.xxx.com xxxx
verify-x509-name XXXXX name
setenv opt block-outside-dns # Prevent Windows 10 DNS leak
I don’t see any real differences with your file, but mine is running fine. By chance, you did not convert the file to a DOS end-of-line formatted file? I remember in the past seeing issues when this occurs.