Skip to content

Commit b024e5b

Browse files
authored
Merge pull request #47 from DefGuard/mobile-client
mobile client documentation
2 parents 9fbf27d + 353b6bd commit b024e5b

9 files changed

+131
-99
lines changed
80.3 KB
Loading
359 KB
Loading
205 KB
Loading
120 KB
Loading
79.7 KB
Loading
-174 KB
Binary file not shown.
133 KB
Loading
80.2 KB
Loading

help/mobile-client.md

Lines changed: 131 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -8,166 +8,198 @@ Mobile client is currently under development **(closed beta)**, current page sho
88

99
This guide explains how to use the Defguard Mobile to connect securely to VPN locations managed within your Defguard [instance](mobile-client.md#what-is-an-instance). It covers the entire process, from installation, adding new instances, connecting to locations, to managing your VPN connection settings.
1010

11-
### Installation
11+
## Setup instructions
1212

13-
Join closed beta for [iOS](https://defguard.net/download) or [Android](https://defguard.net) (Coming soon!)
13+
### Step 1: Download app
14+
1. Join closed beta for [iOS](https://defguard.net) or [Android](https://defguard.net). (Coming soon!)
15+
2. Download and install the app on your device.
1416

15-
### Connecting made effortless
17+
### Step 2: Add new Instance
18+
{% hint style="info" %}
19+
An instance is a container for VPN locations. Each instance can have multiple locations that you can connect to with a single click.
20+
{% endhint %}
21+
22+
{% hint style="info" %}
23+
You can also add your device during the enrollment process. After completing setup of your password, you will be able to add device directly in the next step.
1624

17-
1. Download app from [App Store](https://defguard.net/download) or [Google Play](https://defguard.net/download)
18-
2. Open app
19-
3. To add instance [scan QR](mobile-client.md#add-instance-by-qr-code) or [use manual configuration](mobile-client.md#add-instance-manually)
20-
4. [Connect](mobile-client.md#connecting-to-location-without-mfa) with single click
25+
<figure><img src="../.gitbook/assets/defguard-enrollment-new-device.png" alt="" width="50%"></figure>
2126

22-
### Quick guide
27+
**If you have already added your device during the enrollment process, please skip to step 7.**
28+
{% endhint %}
2329

24-
* [How to add an instance?](mobile-client.md#adding-new-instance)
25-
* [How to connect to location without MFA?](mobile-client.md#connecting-to-location-without-mfa)
26-
* [How to connect to location with MFA?](mobile-client.md#connecting-to-location-with-mfa)
27-
* [How can I obtain QR Code?](mobile-client.md#how-can-i-obtain-qr-code-url-and-token)
28-
* [What is an instance?](mobile-client.md#what-is-an-instance)
29-
* [Supported MFA methods](mobile-client.md#supported-mfa-methods)
30-
* [Additional features](mobile-client.md#additional-features)
3130

32-
### Adding new instance
3331

34-
<figure><img src="../.gitbook/assets/defguard-mobile-new-instance.jpg" alt="" width="375"><figcaption></figcaption></figure>
32+
1. Log in to your Defguard account.
33+
2. Go to **"My Profile"** tab.
34+
3. Click **"Add new device"** button inside **"User Devices"** list.
35+
<figure><img src="../.gitbook/assets/defguard-myprofile-add-device.png" alt="" width="50%"><figcaption></figcaption></figure>
3536

36-
{% hint style="info" %}
37-
In this stage you will need [QR code or URL with token](mobile-client.md#how-can-i-obtain-qr-code-url-and-token)
38-
{% endhint %}
37+
4. Select "Remote Device Activation" and click "Next".
38+
<figure><img src="../.gitbook/assets/defguard-add-new-device.png" alt="" width="50%"><figcaption></figcaption></figure>
3939

40-
#### Add instance by QR Code
40+
5. After that you should see URL, Token and QR Code. **Take screenshot**, we will need it in next step.
41+
<figure><img src="../.gitbook/assets/defguard-add-instance-qr.png" alt="" width="50%"><figcaption></figcaption></figure>
4142

42-
1. Go to "Add Instance" tab
43-
2. Click "Scan QR Code"
44-
3. Scan QR code
45-
4. Enter name
43+
6. Open Defguard Mobile on your smartphone
44+
7. Click "Scan QR Code"
45+
<figure><img src="../.gitbook/assets/defguard-mobile-add-instance.png" width="375"></figure>
4646

47-
#### Add instance manually
47+
8. Scan QR generated in step 5.
48+
9. Enter name of your device. For example "iPhone 11"
49+
10. Confirm
4850

49-
1. Go to "Add Instance" tab
50-
2. Click "Add Instance Manually"
51-
3. Enter URL and token
52-
4. Confirm
51+
{% hint style="info" %}
52+
If you can't scan QR Code, select "Add Instance Manually" in **step 4** and enter URL and Token from **step 5**.
53+
{% endhint %}
5354

5455
{% hint style="warning" %}
55-
Your phone will need to add new VPN configuration, when you see the request, please allow it. Without this permission, Defguard cannot establish VPN connection.
56-
{% endhint %}
56+
Your phone will need to add new VPN configuration, you will see popup like this:
57+
<figure><img src="../.gitbook/assets/defguard-mobile-new-vpn-configuration-ios.png" width="375"></figure>
5758

58-
### Connecting to location (without MFA)
59+
Please click **Allow**, without this permission, Defguard cannot establish VPN connection.
60+
{% endhint %}
5961

60-
1. Choose the desired instance from list
61-
2. Select the location by clicking "Connect" next to it
62-
3. Choose if you want to route your traffic with:
63-
* Predefined traffic
64-
* All traffic
65-
4. Press "Connect"
62+
### Step 3: Connecting to Instance
63+
64+
{% hint style="info" %}
65+
Some VPN locations require extra security when connecting. This is called MFA (Multi-Factor Authentication). There are two types:
6666

67-
### Connecting to location (with MFA)
67+
* Internal MFA: You confirm your identity directly in the app, for example by entering a code from your Authenticator App or email.
68+
* External MFA: You are redirected to a secure login page (like Google or Microsoft) outside the app to confirm your identity.
6869

69-
{% hint style="warning" %}
70-
Please check [this](mobile-client.md#authenticating-with-openid) section for information about how the OpenID authentication method works.
70+
If your location uses MFA, please scroll down to this [section](#connecting-to-location-with-mfa)
7171
{% endhint %}
7272

73-
1. Choose desired instance from list
74-
2. Select location by clicking "Connect" next to it
75-
3. Choose if you want to route your traffic with:
76-
* Predefined traffic
77-
* All traffic
78-
4. Choose MFA method which is configured in your account
79-
* Email
80-
* [Authenticator App](mobile-client.md#authenticating-with-authenticator-app-totp)
81-
5. Authenticate and connect
73+
74+
1. Open Defguard
75+
2. Click on Instance you want to connect to.
76+
<figure><img src="../.gitbook/assets/defguard-instance-list.jpg" alt="" width="375"><figcaption></figcaption></figure>
77+
78+
3. Click **"Connect"** next to location you want to use.
79+
<figure><img src="../.gitbook/assets/defguard-mobile-connect-location-list.png" alt="" width="375"><figcaption></figcaption></figure>
8280

8381
{% hint style="info" %}
84-
The first time you connect, app will ask whether you want to route **predefined traffic** or **all traffic**.
82+
The first time you connect, app will ask whether you want to route **predefined traffic** or **all traffic**. You should see screen like this:
83+
84+
<figure><img src="../.gitbook/assets/defguard-mobile-traffic-panel.png" alt="" width="375"></figure>
8585

8686
* **Predefined traffic** is optimized for general browsing and will route only specific traffic through VPN.
8787
* **All traffic** provides full encryption and privacy for all your device traffic.
8888

8989
You can select **"Remember my choice"** if you don't want to be asked again.
9090

91-
If you want to change this setting later:
91+
If you want to change your traffic routing method after your first connection go to [this section](#changing-mfa-method-after-first-connection)
9292

93-
1. Go to **Instances** in the app menu.
94-
2. Press **Connect** button next to location name and wait until popup shows.
95-
3. Click **Select Traffic Routing**, choose option and confirm with **Save** button.
96-
{% endhint %}
9793

98-
<figure><img src="../.gitbook/assets/defguard-mobile-connect-traffic.png" alt="" width="50%"><figcaption></figcaption></figure>
94+
{% endhint %}
9995

96+
4. Choose your routing method
97+
5. Confirm
10098
{% hint style="info" %}
101-
When connecting with MFA for the first time, you will have the option to select **"Remember my choice"**. Select this option if you want to always use this method for this location.
99+
If your location does not use MFA, your VPN connection should be established immediately after confirming your routing method.
100+
{% endhint %}
101+
102+
{% hint style="warning" %}
103+
If your location is using MFA please go to [section 3.2 "Connecting to location with MFA](#connecting-to-location-with-mfa)
104+
{% endhint %}
102105

103-
To change your preferred MFA method later:
104106

105-
1. Go to **Instances** in the app menu.
106-
2. Press **Connect** button next to location name and wait until popup shows.
107-
3. Click **Select MFA Method**, choose option and confirm with **Save** button.
107+
108+
109+
### Connecting to location with MFA
110+
111+
1. Open Defguard
112+
2. Go to **Instances** and click **Connect** next to location you want to use.
113+
<figure><img src="../.gitbook/assets/defguard-mobile-connect-location-list.png" alt="" width="375"></figure>
114+
115+
{% hint style="info" %}
116+
When connecting with MFA for the first time, you will have the option to select **"Remember my choice"**. Select this option if you want to always use this method for this location.
108117
{% endhint %}
109118

110-
<figure><img src="../.gitbook/assets/defguard-mobile-connect-mfa.png" alt="" width="50%"><figcaption></figcaption></figure>
119+
3. After selecting routing method, you should see something like to this:
120+
<figure><img src="../.gitbook/assets/defguard-mobile-mfa-panel.png" alt="" width="375"></figure>
111121

112-
### Authenticating with OpenID
122+
{% hint style="warning" %}
123+
If the VPN location requires OpenID for authentication, you will need to authorize in a different way. Instead of entering a code in the app, you will be redirected to a secure login page (for example, Google or Microsoft). Follow the instructions on the screen to log in. After successful authentication, after returning to Defguard, your connection will be established.
124+
For detailed explanation of the OpenID authentication process, see the section "[Authenticating with OpenID](#authenticating-with-openid)".
125+
{% endhint %}
113126

114-
Upon connecting location with **external** MFA requirement we should see this information
127+
4. Choose method configured for your account, and click **Connect**.
128+
- If you're using "Email" method, please enter code sent to your email.
129+
- If you're using "Authenticator App", please enter code generated within your authenticator app.
130+
{% hint style="info" %}
131+
If you don't know how to setup or use your **Authenticator App** please check [this article](/help/setting-up-2fa-mfa.md#setting-up-2famfa) for detailed information.
132+
{% endhint %}
133+
5. After this step, your connection will be established immedietaly.
115134

116-
<figure><img src="../.gitbook/assets/defguard-mobile-openid-banner.png" alt="" width="375"><figcaption></figcaption></figure>
135+
### Connecting to location without MFA
117136

118-
After clicking "Authenticate with OpenID", we should be redirected to login page. After successfully logging in, you should see something like this:
137+
1. Open Defguard
138+
2. Go to **Instances** and click **Connect** next to location you want to use.
139+
<figure><img src="../.gitbook/assets/defguard-mobile-connect-location-list.png" alt="" width="375"></figure>
140+
3. After this step your connection should be established.
119141

120-
<figure><img src="../.gitbook/assets/defguard-mobile-openid-success.png" alt="" width="375"><figcaption></figcaption></figure>
142+
### Disconnecting from VPN
121143

122-
After this step please go back to the Defguard app and check your connection.
144+
To disconnect from a VPN location in Defguard:
123145

124-
### Authenticating with Authenticator App (TOTP)
146+
1. Open Defguard.
147+
2. Go to the active instance
148+
3. Click **Disconnect** button next to the location you are currently connected to.
149+
<figure><img src="../.gitbook/assets/defguard-mobile-disconnect-button.png" alt="" width="375"></figure>
150+
{% hint style="info" %}
151+
After disconnecting, your device will stop sending traffic through the VPN and return to your regular internet connection.
152+
{% endhint %}
125153

126-
When connecting to a location that requires **internal** MFA, you should see this screen.
154+
## Managing your instance
127155

128-
<figure><img src="../.gitbook/assets/defguard-mobile-totp-screen.png" alt="" width="375"><figcaption></figcaption></figure>
156+
### Changing traffic routing method after first connection
129157

130-
Enter code from **your Authenticator App** and click "Verify". After this step your VPN connection will be established.
158+
1. Open the Defguard.
159+
2. Go to **Instances** in the app menu.
160+
3. Press the **Connect** button next to the location you want to update.
161+
4. When the popup appears, look for the option **Select Traffic Routing**.
162+
<figure><img src="../.gitbook/assets/defguard-mobile-connect-traffic.png" alt="" width="375"></figure>
131163

132-
### How can I obtain QR Code, URL and token?
164+
5. You should see this:
165+
<figure><img src="../.gitbook/assets/defguard-mobile-traffic-panel.png" alt="" width="375"></figure>
166+
6. Choose method and click **Connect**
133167

134-
1. Login to your Defguard instance
135-
2. Go to "My Profile" tab
136-
3. Click "Add new device" in "User devices" tab
137168

138-
<figure><img src="../.gitbook/assets/defguard-myprofile-add-device.png" alt="" width="50%"><figcaption></figcaption></figure>
169+
### Changing MFA method after first connection
139170

140-
4\. Select "Remote Device Activation" and click "Next"
171+
1. Go to **Instances** in the app menu.
172+
2. Press **Connect** button next to location name and wait until popup shows.
141173

142-
<figure><img src="../.gitbook/assets/defguard-add-new-device.png" alt="" width="50%"><figcaption></figcaption></figure>
174+
<figure><img src="../.gitbook/assets/defguard-mobile-connect-mfa.png" alt="" width="375"><figcaption></figcaption></figure>
143175

144-
5\. You will see URL, Authentication token and \*\*QR Code\*\*
176+
3. Click **Select MFA Method**.
177+
4. You should see this:
178+
<figure><img src="../.gitbook/assets/defguard-mobile-mfa-panel.png" alt="" width="375"></figure>
145179

146-
<figure><img src="../.gitbook/assets/defguard-add-instance-qr.png" alt="" width="50%"><figcaption></figcaption></figure>
180+
5. Choose method and click **Connect**
147181

148-
### What is an instance?
182+
## Additional information
149183

150-
An instance contains locations. These are the servers you can connect to via VPN. When you use the Defguard Mobile, you select an instance first, and then choose the specific location within it to establish your VPN connection.
184+
### Authenticating with OpenID
151185

152-
#### Instance list
186+
Upon connecting location with **external** MFA requirement we should see this information
153187

154-
<figure><img src="../.gitbook/assets/defguard-instance-list.jpg" alt="" width="375"><figcaption></figcaption></figure>
188+
<figure><img src="../.gitbook/assets/defguard-mobile-openid-banner.png" alt="" width="375"><figcaption></figcaption></figure>
155189

156-
#### Location list (inside instance)
190+
After clicking "Authenticate with OpenID", you should be redirected to login page. After successfully logging in, you should see something like this:
157191

158-
<figure><img src="../.gitbook/assets/defguard-location-list.jpg" alt="" width="375"><figcaption></figcaption></figure>
192+
<figure><img src="../.gitbook/assets/defguard-mobile-openid-success.png" alt="" width="375"><figcaption></figcaption></figure>
159193

160-
### Supported MFA Methods
194+
After this step please go back to the Defguard and check your connection.
161195

162-
Defguard Mobile supports multiple secure authentication methods:
196+
### Authenticating with Authenticator App (TOTP)
163197

164-
* **TOTP** – time‑based one‑time passwords (Authenticator apps)
165-
* **Email** – receive verification codes via email
166-
* **OpenID** – integrate with any OpenID Connect provider (Google, etc.)
198+
When connecting to a location that requires **internal** MFA, you should see this screen.
167199

168-
## Additional features
200+
<figure><img src="../.gitbook/assets/defguard-mobile-totp-screen.png" alt="" width="375"><figcaption></figcaption></figure>
169201

170-
* Switch to **dark/light theme** — adapts to your system settings
171-
* View **live connection stats**, logs & tunnel details
172-
* Manage multiple instances
173-
* Choose if you want to route all or predefined traffic
202+
1. Open your Authenticator App (such as Google Authenticator or Microsoft Authenticator) on your phone.
203+
2. Find the code generated for your Defguard account.
204+
3. Enter this code into the Defguard.
205+
4. Tap **"Verify"**.

0 commit comments

Comments
 (0)