Differences

This shows you the differences between two versions of the page.

inbox:vpn.howto [2012/12/22 10:09]
dbennett455
inbox:vpn.howto [2013/05/17 11:36] (current)
ezhov Disable compression in configs (non-uci, uci, client).
Line 52: Line 52:
</code> </code>
-|''+<code>
mode server mode server
tls-server tls-server
Line 74: Line 74:
### (optional) compression (Can be slow) ### (optional) compression (Can be slow)
#comp-lzo #comp-lzo
 +
persist-key persist-key
persist-tun persist-tun
Line 80: Line 81:
keepalive 10 120 keepalive 10 120
log-append /var/log/openvpn/openvpn.log log-append /var/log/openvpn/openvpn.log
-''|+</code>
If you are using UCI to configure your system, use this configuration file: If you are using UCI to configure your system, use this configuration file:
Line 98: Line 99:
        option 'ifconfig_pool_persist' '/tmp/ipp.txt'         option 'ifconfig_pool_persist' '/tmp/ipp.txt'
        option 'keepalive' '10 120'         option 'keepalive' '10 120'
-        option 'comp_lzo' '1'+        option 'comp_lzo' '0'
        option 'persist_key' '1'         option 'persist_key' '1'
        option 'persist_tun' '1'         option 'persist_tun' '1'
Line 115: Line 116:
|'' |''
config 'include' config 'include'
-        option 'path' '/etc/config/firewall.user'+        option 'path' '/etc/firewall.user'
config 'rule' config 'rule'

Back to top

inbox/vpn.howto.1356167360.txt.bz2 · Last modified: 2012/12/22 10:09 by dbennett455