networking:mikrotik:split_tunnel_01
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| networking:mikrotik:split_tunnel_01 [2020/04/11 09:53] – rplecko | networking:mikrotik:split_tunnel_01 [2020/08/19 12:02] (current) – rplecko | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| === Split tunnel - Powershell cmdlet === | === Split tunnel - Powershell cmdlet === | ||
| + | - In vpn connection properties select **Internet Protocol V4** | ||
| + | - In **General Properties**, | ||
| + | - In **Advanced TCP/IP Settings**, uncheck **Use default gateway on remote network** | ||
| - | Powershell has a cmdlet available that adds routes on VPN connection and removes them again when the VPN is disconnected: | + | [[http:// |
| + | |||
| + | Now, your computer will no longer use a gateway on remote network for internet access. | ||
| + | |||
| + | Next, we need to add a route so the traffic to the remote network could be routed properly. | ||
| + | |||
| + | Powershell has a cmdlet available that adds routes on VPN connection and removes them again when the VPN is disconnected: | ||
| The basic syntax is like this: | The basic syntax is like this: | ||
| - | | + | < |
| - | + | Add-VpnConnectionRoute -ConnectionName "VPN Connection Name" -DestinationPrefix 10.0.0.0/ | |
| + | </ | ||
| After entering this command, the routes will be created/ | After entering this command, the routes will be created/ | ||
| - | There is no adequate **Get-VpnConnectionRoute** to check your current settings, but you can use Get-VpnConnection which gives too much information, | + | There is no adequate **Get-VpnConnectionRoute** |
| + | [[https:// | ||
| + | [[https:// | ||
| + | < | ||
| + | </ | ||
| - | [[https:// | ||
networking/mikrotik/split_tunnel_01.1586598805.txt.gz · Last modified: 2020/04/11 09:53 by rplecko
