mirror of
https://github.com/trailofbits/algo.git
synced 2025-04-19 15:47:11 +02:00
Add html helper for Android (#554)
* add html helper #280 move to the new local schema fix a typo * Update client-android.md
This commit is contained in:
parent
e9e6c6e383
commit
40e0363b18
3 changed files with 21 additions and 1 deletions
|
@ -1,5 +1,14 @@
|
|||
# Android client setup
|
||||
|
||||
## Installation via profiles
|
||||
|
||||
1. [Install the strongSwan VPN Client](https://play.google.com/store/apps/details?id=org.strongswan.android).
|
||||
2. Copy `android_{username}.sswan` and `android_{username}_helper.html` to your phone's internal storage.
|
||||
3. Open the helper file in a browser (e.g., Google Chrome).
|
||||
4. Click on the link. It opens the StrongSwan app and configures the VPN with your profile.
|
||||
|
||||
## Manual installation
|
||||
|
||||
**NOTE:** If you are a Project Fi user, you must disable WiFi Assistant before continuing. See the [strongSwan documentation](https://wiki.strongswan.org/projects/strongswan/wiki/AndroidVPNClient) for details.
|
||||
|
||||
| Instruction | Screenshot(s) |
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
- name: Build the strongswan app android config
|
||||
template:
|
||||
src: sswan.j2
|
||||
dest: configs/{{ IP_subject_alt_name }}/{{ item.0 }}.sswan
|
||||
dest: configs/{{ IP_subject_alt_name }}/android_{{ item.0 }}.sswan
|
||||
mode: 0600
|
||||
become: no
|
||||
with_together:
|
||||
|
@ -35,6 +35,16 @@
|
|||
- "{{ PayloadContent.results }}"
|
||||
no_log: True
|
||||
|
||||
- name: Build the android helper html
|
||||
template:
|
||||
src: android_html_helper.j2
|
||||
dest: configs/{{ IP_subject_alt_name }}/android_{{ item.0 }}_helper.html
|
||||
mode: 0600
|
||||
become: no
|
||||
with_together:
|
||||
- "{{ users }}"
|
||||
no_log: True
|
||||
|
||||
- name: Build the client ipsec config file
|
||||
template:
|
||||
src: client_ipsec.conf.j2
|
||||
|
|
1
roles/vpn/templates/android_html_helper.j2
Normal file
1
roles/vpn/templates/android_html_helper.j2
Normal file
|
@ -0,0 +1 @@
|
|||
<a href="android_{{ item.0 }}.sswan" type="application/vnd.strongswan.profile">{{ item.0 }}</a>
|
Loading…
Add table
Reference in a new issue