0
0
mirror of https://github.com/schwabe/ics-openvpn.git synced 2024-09-20 03:52:27 +02:00
openvpn-android/README.md

73 lines
3.7 KiB
Markdown
Raw Normal View History

2013-08-12 10:45:16 +02:00
OpenVPN for Android
=============
![build status](https://github.com/schwabe/ics-openvpn/actions/workflows/build.yaml/badge.svg)
2013-08-12 10:45:16 +02:00
2015-04-15 00:31:10 +02:00
Description
------------
With the new VPNService of Android API level 14+ (Ice Cream Sandwich) it is possible to create a VPN service that does not need root access. This project is a port of OpenVPN.
2013-08-12 10:45:16 +02:00
2017-03-02 16:52:54 +01:00
<a href="https://f-droid.org/repository/browse/?fdid=de.blinkt.openvpn" target="_blank">
<img src="https://f-droid.org/badge/get-it-on.png" alt="Get it on F-Droid" height="80"/></a>
<a href="https://play.google.com/store/apps/details?id=de.blinkt.openvpn" target="_blank">
<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" alt="Get it on Google Play" height="80"/></a>
2015-06-24 10:10:54 +02:00
Developing
2015-04-15 00:31:10 +02:00
---------------
2016-01-05 15:44:01 +01:00
If you want to develop on ics-openvpn please read the [doc/README.txt](https://github.com/schwabe/ics-openvpn/blob/master/doc/README.txt) *before* opening issues or emailing me.
2013-08-12 10:45:16 +02:00
Also please note that before contributing to the project that I would like to retain my ability to relicense the project for different third parties and therefore probably need a contributer's agreement from any contributing party. To get started, [sign the Contributor License Agreement](https://www.clahub.com/agreements/schwabe/ics-openvpn).
2015-06-24 10:10:54 +02:00
2015-04-15 00:31:10 +02:00
You can help
------------
2019-11-03 21:09:35 +01:00
Even if you are no programmer you can help by translating the OpenVPN client into your native language. [Crowdin provides a free service for non commercial open source projects](https://crowdin.net/project/ics-openvpn/invite) (Fixing/completing existing translations is very welcome as well)
2015-04-15 00:31:10 +02:00
FAQ
-----
2019-11-03 21:09:35 +01:00
You can find the FAQ here (same as in app): https://ics-openvpn.blinkt.de/FAQ.html
2015-04-15 00:31:10 +02:00
2019-03-26 16:07:20 +01:00
Controlling from external apps
------------------------------
There is the AIDL API for real controlling (see developing section). Due to high demand also
acitvies to start/stop, pause/resume (like a user would with the notification) exists
- `de.blinkt.openvpn.api.DisconnectVPN`
- `de.blinkt.openvpn.api.ConnectVPN`
- `de.blinkt.openvpn.api.PauseVPN`
- `de.blinkt.openvpn.api.ResumeVPN`
They use `de.blinkt.openvpn.api.profileName` as extra for the name of the VPN profile..
2019-03-26 16:07:20 +01:00
2015-04-15 00:31:10 +02:00
Note to administrators
------------------------
You make your life and that of your users easier if you embed the certificates into the .ovpn file. You or the users can mail the .ovpn as a attachment to the phone and directly import and use it. Also downloading and importing the file works. The MIME Type should be application/x-openvpn-profile.
Inline files are supported since OpenVPN 2.1rc1 and documented in the [OpenVPN 2.3 man page](https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage) (under INLINE FILE SUPPORT)
(Using inline certifaces can also make your life on non-Android platforms easier since you only have one file.)
2015-04-15 00:31:10 +02:00
For example `ca mycafile.pem` becomes
2015-10-18 12:45:38 +02:00
```
2015-04-15 00:31:10 +02:00
<ca>
-----BEGIN CERTIFICATE-----
MIIHPTCCBSWgAwIBAgIBADANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290
[...]
-----END CERTIFICATE-----
</ca>
2015-10-18 12:45:38 +02:00
```
2017-01-28 10:15:39 +01:00
Footnotes
2015-04-15 00:31:10 +02:00
-----------
2017-01-28 10:16:49 +01:00
Please note that OpenVPN used by this project is under GPLv2.
2015-04-15 00:31:10 +02:00
If you cannot or do not want to use the Play Store you can [download the apk files directly](http://plai.de/android/).
2015-04-15 00:31:10 +02:00
2017-11-16 13:50:46 +01:00
If you want to donate you can donate to [arne-paypal@rfc2549.org via paypal](https://www.paypal.com/cgi-bin/webscr?hosted_button_id=R2M6ZP9AF25LS&cmd=_s-xclick), or alternatively if you believe in fancy Internet money you can use Bitcoin: 1EVWVqpVQFhoFE6gKaqSkfvSNdmLAjcQ9z
2015-04-15 00:31:10 +02:00
The old official or main repository was a Mercurial (hg) repository at http://code.google.com/p/ics-openvpn/source/
The new Git repository is now at GitHub under https://github.com/schwabe/ics-openvpn
2015-04-15 00:31:10 +02:00
Please read the doc/README before asking questions or starting development.