siomiz / SoftEtherVPN

A Docker Automated Build Repository for SoftEther VPN
https://hub.docker.com/r/siomiz/softethervpn/
MIT License
452 stars 174 forks source link

Add the ability to turn on data compression for all accounts #76

Open diwu1989 opened 4 years ago

diwu1989 commented 4 years ago

SoftEther is supposed to support data compression. Can we make it easy with 1 flag to turn on data compression for all the generated accounts?

image

https://www.softether.org/4-docs/1-manual/6._Command_Line_Management_Utility_Manual/6.5_VPN_Client_Management_Command_Reference#6.5.32_.22AccountCompressEnable.22:_Enable_Data_Compression_when_Communicating_by_VPN_Connection_Setting

siomiz commented 4 years ago

Client management is not handled by this image. (PRs are welcome)

If you know an equivalent vpncmd command for Server and/or Hub (to force default or something), use VPNCMD_SERVER and/or VPNCMD_HUB.