Skip to content

Commit 302a7f6

Browse files
Merge pull request #295687 from fabferri/patch-8
Update azure-vpn-client-optional-configurations.md
2 parents 38fd06e + 19e60e5 commit 302a7f6

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

articles/vpn-gateway/azure-vpn-client-optional-configurations.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ Split tunneling is configured by default for the VPN client.
9494

9595
### Forced tunneling
9696

97-
You can configure forced tunneling in order to direct all traffic to the VPN tunnel. Forced tunneling can be configured using two different methods; either by advertising custom routes, or by modifying the profile XML file. You can include 0/0 if you're using the Azure VPN Client version 2.1900:39.0 or higher.
97+
You can configure forced tunneling in order to direct all traffic to the VPN tunnel. Forced tunneling can be configured using two different methods; either by advertising custom routes, or by modifying the profile XML file.
98+
9899

99100
> [!NOTE]
100101
> Internet connectivity is not provided through the VPN gateway. As a result, all traffic bound for the Internet is dropped.
@@ -104,6 +105,32 @@ You can configure forced tunneling in order to direct all traffic to the VPN tun
104105

105106
* **Profile XML:** You can modify the downloaded profile xml file and add the **\<includeroutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</includeroutes>** tags.
106107

108+
109+
For Azure VPN Client for Windows:
110+
- version 2.1900:39.0 or higher. You can include the route 0/0. Modify the downloaded profile xml file and add the **\<includeroutes>\<route>\<destination>\<mask> \</destination>\</mask>\</route>\</includeroutes>** tags. Make sure to update the version number to 2.
111+
- Version lower than 2.1900:39.0: You need to add two custom routes: 0.0.0.0/1 and 128.0.0.0/1.
112+
113+
114+
For Azure VPN Client on macOS:
115+
- macOS version 14 or higher. Only the custom route 0/0 is supported. The routes 0.0.0.0/1 and 128.0.0.0/1 are not supported.
116+
117+
118+
You can include the custom route `0.0.0.0/0` in the xml file:
119+
```xml
120+
<azvpnprofile>
121+
<clientconfig>
122+
123+
<includeroutes>
124+
<route>
125+
<destination>0.0.0.0</destination><mask>0</mask>
126+
</route>
127+
</includeroutes>
128+
129+
</clientconfig>
130+
</azvpnprofile>
131+
```
132+
133+
You can add the custom routes `0.0.0.0/1` and `128.0.0.0/1` in the xml file:
107134
```xml
108135
<azvpnprofile>
109136
<clientconfig>

0 commit comments

Comments
 (0)