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/12 10:09] – 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 === | ||
| - | {{ : | ||
| - | Powershell has a cmdlet available that adds routes on VPN connection | + | - In vpn connection |
| - | It works without having to specify the interface ID. | + | |
| + | - In **Advanced TCP/IP Settings**, uncheck **Use default gateway on remote network** | ||
| - | The basic syntax is like this: | + | [[http:// |
| - | Add-VpnConnectionRoute -ConnectionName "VPN Connection Name" -DestinationPrefix 10.0.0.0/ | + | Now, your computer |
| - | + | ||
| - | After entering this command, the routes | + | |
| - | There is no adequate **Get-VpnConnectionRoute** | + | 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: | ||
| + | |||
| + | < | ||
| + | Add-VpnConnectionRoute -ConnectionName "VPN Connection Name" -DestinationPrefix 10.0.0.0/16 | ||
| + | </ | ||
| + | |||
| + | After entering this command, the routes will be created/ | ||
| + | There is no adequate **Get-VpnConnectionRoute** | ||
| [[https:// | [[https:// | ||
| [[https:// | [[https:// | ||
| + | < | ||
| + | </ | ||
networking/mikrotik/split_tunnel_01.1586686142.txt.gz · Last modified: 2020/04/12 10:09 by rplecko
