NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
crowdedisland
May 04, 2024Aspirant
R6400 getting OpenVPN error
I have had this configuration running for years but now I am getting an error
OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options
OpenVPN ROUTE: failed to parse/resolve route for host/network: 192.168.2.1
Not sure why I am getting this all of the sudden but also not sure what file I would add this to and exactly the syntax.
1 Reply
- kurdt784Aspirant
Hello,
I've had this configuration running for years, but now I'm getting an OpenVPN error: "OpenVPN needs a gateway parameter for a --route option and no Vantage ADP default was specified by either --route-gateway or --ifconfig options" and "failed to parse/resolve route for host/network: 192.168.2.1." To fix this, add route-gateway 192.168.2.1 to your OpenVPN configuration file (e.g., /etc/openvpn/server.conf). Then, restart the OpenVPN service with sudo systemctl restart openvpn@server. This should resolve the issue by specifying the necessary gateway parameter.