dendrees Hello, Maybe a newbie question but I am starting with a Openvpn server on my ddwrt router. When I want to add some commands, especially the "push route" command in the additional config field. These setting are saved with allot of quotes in place. This is a part of my config: push “route 192.168.x.x 255.255.255.0” push “dhcp-option DNS 8.8.8.8” push “redirect-gateway def1” When I save/ apply these commands this is what I get: push -109;route 192.168.x.x 255.255.255.0-108; push -109;dhcp-option DNS 8.8.8.8-108; push -109;redirect-gateway def1-108; Firmware: DD-WRT v3.0-r31571 std (03/04/17) I will get this error message and the server won't start anymore: DD-WRT Archer C5 daemon.err openvpn[892]: Options error: Unrecognized option or missing or extra parameter(s) in /tmp/openvpn/openvpn.conf:30: push (2.4.0) These setting should normally work I followed 2 tutorials on the web. But I cannot figure it out. Any help would be wonderful?
dendrees I think this is an issue with Openvpn. This is what I have found out so far. When I type in the config box: push “route 192.168.1.0 255.255.255.0” like is written in all the tutorials. When I hit save/ apply I get this: push -109;route 192.168.1.0 255.255.255.0-108; The vpn server is stopped. But when I type like this: push 'route 192.168.0.1 255.255.255.0' and I save it will be converted to: push \route 192.168.0.1 255.255.255.0\ and it's saved properly. Openvpn server is still running and I can find this change back in the vpn log.
Pippin Have not seen this before: push “route 192.168.1.0 255.255.255.0” That should be: push "route 192.168.1.0 255.255.255.0"
dendrees Here is some more information: https://www.dwheeler.com/essays/quotes-in-html.html Left Double Quotation Mark when the config is saved it will be converted to: “