Differences
This shows you the differences between two versions of the page.
|
inbox:vpn.howto [2012/09/06 10:37] roemer2201 |
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' | ||
| Line 206: | Line 207: | ||
| *It seems like Windows Vista 64 does not like the tun/tap driver from the client package;\\ So we need to download the entire OpenVPN pack including Server & Client from http://openvpn.net/index.php/open-source/downloads.html \\Choose Windows Installer | *It seems like Windows Vista 64 does not like the tun/tap driver from the client package;\\ So we need to download the entire OpenVPN pack including Server & Client from http://openvpn.net/index.php/open-source/downloads.html \\Choose Windows Installer | ||
| - | ===== Client Usage Android / MacOS X / iOS / ... ===== | + | ===== Client Usage on Android ===== |
| + | |||
| + | - Install and run the Android __OpenVPN Installer__ from Friedrich Schäuffelhut (http://goo.gl/9kKVB). (Make note of the application preqrequisites) | ||
| + | - Install the Android __OpenVPN Settings__ App from Friedrich Schäuffelhut (http://goo.gl/l2DfA). | ||
| + | - Copy the ca.crt, dh1024.pem, client.crt, and client.key to /mnt/sdcard/openvpn/**{profile}**. Where **{profile}** is your host connection name. | ||
| + | - Create an OpenVPN configuration file (.conf) using the GNU/Linux example as a guide, place this in the /mnt/sdcard/openvpn/**{profile}** directory along with files above | ||
| + | - Once the files are loaded on the device, use the OpenVPN Settings app to complete the configuration and initiate connection. | ||
| + | |||
| + | Note: You may need to install tun.ko using the __TUN.ko Installer__ (http://goo.gl/mFX8v). tun.ko may also be compiled into your kernel in which case the tun.ko module is not necessary on your Android device. | ||
| + | |||
| + | Note: tap connections do work on Android with this OpenVPN client. However, tap connections may use up extra bandwidth for non-TCP protocols. | ||
| + | |||
| + | |||
| + | |||
| + | ===== Client Usage MacOS X / iOS / ... ===== | ||
| TODO | TODO | ||
inbox/vpn.howto.1346920676.txt.bz2 · Last modified: 2012/09/06 10:37 by roemer2201
This text is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
