Reply To: OpenVPN disable Comp-LZO

Home Page Forums Network Management ZeroShell OpenVPN disable Comp-LZO Reply To: OpenVPN disable Comp-LZO

#48285

ppalias
Member

Here is a script that worked for me:


73c73
< bash -c "vpn --dev-type tap --dev VPN99 --mode server --tls-server --proto $PROTO --port $PORT --dh /etc/ssl/dh.pem --ca $REGISTER/system/openvpn/Auth/X509/CAFile --cert $REGISTER/system/openvpn/TLS/cert.pem --key $REGISTER/system/openvpn/TLS/key.pem $NOCERTREQ $AUTHSCRIPT --daemon VPN99_H2L --comp-lzo $POOL --push '$PUSHGW' --push '$REDIRECTGW' --push '$RESOLVER' --push '$PUSHNETS0' $PUSHNETS --client-connect $SCRIPTS/ov_connect --client-disconnect $SCRIPTS/ov_disconnect --mute 3 --management 127.0.0.1 $MGT --keepalive 5 60 --duplicate-cn $PARAM"
---
> bash -c "vpn --dev-type tap --dev VPN99 --mode server --tls-server --proto $PROTO --port $PORT --dh /etc/ssl/dh.pem --ca $REGISTER/system/openvpn/Auth/X509/CAFile --cert $REGISTER/system/openvpn/TLS/cert.pem --key $REGISTER/system/openvpn/TLS/key.pem $NOCERTREQ $AUTHSCRIPT --daemon VPN99_H2L $POOL --push '$PUSHGW' --push '$REDIRECTGW' --push '$RESOLVER' --push '$PUSHNETS0' $PUSHNETS --client-connect $SCRIPTS/ov_connect --client-disconnect $SCRIPTS/ov_disconnect --mute 3 --management 127.0.0.1 $MGT --keepalive 5 60 --duplicate-cn $PARAM"

This one goes to /Database/patches/vpn_start-nocomplzo.patch and is meant for ZSbeta12.