Running as an app (Android)
Warning: Beta version
The SCION Android app is in beta and has only been tested on selected Android devices.
The SCION Android app allows you to host a SCION AS on your smartphone. This allows you to request and serve contents from and to the SCIONLab network. All SCION services are configured automatically based on your SCIONLab configuration. For detailed usage instructions, see below.
- Android device with at least Android 7.0
- SCION app, available on the Play Store (source code available on GitHub)
To connect to the SCIONLab network with your Android phone, perform the following steps:
- Register for a free user account on scionlab.org.
In “My ASes”, create a new SCIONLab AS with the following settings:
- Label: any value (is ignored by the app)
- Installation type: Choose SCION installation from packages
- Attachment point: Choose any attachment point you like, preferably the nearest to your location
- Use VPN: You must check this box
- Public Port: You must not change this from its default value 50000
Alternatively, you can also use an existing SCIONLab AS if you adjust its settings as described above. In that case, also make sure that the Active box is checked.
- Once you have created the AS, you can download its configuration from “My ASes” as a .tar.gz archive. Store this archive somewhere on your smartphone (e.g., on the SD card).
- In the app, press the blue SCION button. The app will ask you to install OpenVPN for Android, which is required to connect to SCIONLab. You do not need to start OpenVPN for Android manually, everything is set up by the SCION app.
- Once OpenVPN for Android is installed, press the SCION button again. You may have to grant permissions regarding VPN and media storage. Then choose the .tar.gz SCIONLab configuration you have downloaded previously.
- The app will now connect to SCIONLab and ping the given SCION address. To disconnect, press the SCION button again.
There is a demo video of the app and its configuration.
In the app, you can view all log data from SCION. For more detailed information, have a look at the
/Android/data/org.scionlab.scion/files/ directory in the internal (or, on some devices, external) storage of your phone.