You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/vpn-gateway/openvpn-azure-ad-client-mac.md
+113Lines changed: 113 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,119 @@ You can remove the VPN connection profile from your computer.
98
98
1. On the **Remove VPN connection?** box, click **Remove**.
99
99
:::image type="content" source="media/openvpn-azure-ad-client-mac/remove-2.png" alt-text="Screenshot of removing.":::
100
100
101
+
## FAQ
102
+
103
+
### How do I add DNS suffixes to the VPN client?
104
+
105
+
You can modify the downloaded profile XML file and add the **\<dnssuffixes>\<dnssufix> \</dnssufix>\</dnssuffixes>** tags.
106
+
107
+
```
108
+
<azvpnprofile>
109
+
<clientconfig>
110
+
111
+
<dnssuffixes>
112
+
<dnssuffix>.mycorp.com</dnssuffix>
113
+
<dnssuffix>.xyz.com</dnssuffix>
114
+
<dnssuffix>.etc.net</dnssuffix>
115
+
</dnssuffixes>
116
+
117
+
</clientconfig>
118
+
</azvpnprofile>
119
+
```
120
+
121
+
### How do I add custom DNS servers to the VPN client?
122
+
123
+
You can modify the downloaded profile XML file and add the **\<dnsservers>\<dnsserver> \</dnsserver>\</dnsservers>** tags.
124
+
125
+
```
126
+
<azvpnprofile>
127
+
<clientconfig>
128
+
129
+
<dnsservers>
130
+
<dnsserver>x.x.x.x</dnsserver>
131
+
<dnsserver>y.y.y.y</dnsserver>
132
+
</dnsservers>
133
+
134
+
</clientconfig>
135
+
</azvpnprofile>
136
+
```
137
+
138
+
### <aname="split"></a>Can I configure split tunneling for the VPN client?
139
+
140
+
Split tunneling is configured by default for the VPN client.
141
+
142
+
### <aname="forced-tunnel"></a>How do I direct all traffic to the VPN tunnel (forced tunneling)?
143
+
144
+
You can configure forced tunneling using two different methods; either by advertising custom routes, or by modifying the profile XML file.
145
+
146
+
> [!NOTE]
147
+
> Internet connectivity is not provided through the VPN gateway. As a result, all traffic bound for the Internet is dropped.
148
+
>
149
+
150
+
***Advertise custom routes:** You can advertise custom routes 0.0.0.0/1 and 128.0.0.0/1. For more information, see [Advertise custom routes for P2S VPN clients](vpn-gateway-p2s-advertise-custom-routes.md).
151
+
152
+
***Profile XML:** You can modify the downloaded profile XML file to add the **\<includeroutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</includeroutes>** tags.
You can modify the downloaded profile XML file and add the **\<includeroutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</includeroutes>** tags.
176
+
177
+
```
178
+
<azvpnprofile>
179
+
<clientconfig>
180
+
181
+
<includeroutes>
182
+
<route>
183
+
<destination>x.x.x.x</destination><mask>24</mask>
184
+
</route>
185
+
</includeroutes>
186
+
187
+
</clientconfig>
188
+
</azvpnprofile>
189
+
```
190
+
191
+
### How do I block (exclude) routes from the VPN client?
192
+
193
+
You can modify the downloaded profile XML file and add the **\<excluderoutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</excluderoutes>** tags.
194
+
195
+
```
196
+
<azvpnprofile>
197
+
<clientconfig>
198
+
199
+
<excluderoutes>
200
+
<route>
201
+
<destination>x.x.x.x</destination><mask>24</mask>
202
+
</route>
203
+
</excluderoutes>
204
+
205
+
</clientconfig>
206
+
</azvpnprofile>
207
+
```
208
+
209
+
> [!NOTE]
210
+
> - The default status for clientconfig tag is <clientconfig i:nil="true" />, which can be modified based on the requirement.
211
+
> - Duplicate clientconfig tag is not supported on macOS, so make sure the clientconfig tag is not duplicated in the XML file.
212
+
>
213
+
101
214
## Next steps
102
215
103
216
For more information, see [Create an Azure AD tenant for P2S Open VPN connections that use Azure AD authentication](openvpn-azure-ad-tenant.md).
0 commit comments