Posted: Mon Oct 14, 2019 16:02 Post subject: Unable to connect to OpenVPN Server which is running DD-WRT
I am trying to connect to OpenVPN Server on netgear-r6400v2. Below is the server.conf and client.conf along with firewall config on dd-wrt. When i try to connect to VPN server i get error message "Bad LZO decompression header byte: 0"
As suggested ob older threads i have config comp-lzo yes on both server and client config which i have done that however the error still persist. Kindly let me know how to fix this issue.
Additional Config Needed to be changed different from what has been suggested on the wiki link of dd-wrt.
LZO compression is set to 'adaptive' on server and on the client side just 'comp-lzo'
Below is the config of the server
keepalive 10 120
management 127.0.0.1 14
push "redirect-gateway def1"
server 192.168.4.0 255.255.255.0
tls-auth /tmp/openvpn/ta.key 0
push "route 192.168.1.0 255.255.255.0 vpn_gateway"
push "dhcp-option DNS 192.168.1.15"
Below is the config of the client
remote xx.xx.xx.xx 1194
Joined: 18 Mar 2014 Posts: 5780 Location: Netherlands
Posted: Tue Oct 15, 2019 12:16 Post subject:
Thanks for sharing.
For posterity some remarks:
The last four firewall rules are pointless/false
You only need the NAT rule, everything else is taken care of by DDWRT.
Compression is compromised (VORACLE crack) besides I have done some testing and although in theory you should get a higher throughput, that seems not to hold true for our SOHO routers. OpenVPN is CPU constraint and the compression/decompression steals away valuable CPU cycles so that the net result was 0, at least with my limited testing.
LZO Compression is on the list to be deprecated (but there is discussion about this),