Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:guide-user:services:vpn:openvpn:dual-wan [2021/08/15 22:00] – optimize title vgaetera | docs:guide-user:routing:examples:dual-wan [2023/09/28 12:45] (current) – [Dual VPN with mwan3] vgaetera | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== Dual VPN with mwan3 ====== |
| - | Objective: Open two VPN Tunnels, one through main WAN and one through LTE Backup, automatic failover to LTE when WAN fails. | + | Objective: Open two VPN tunnels, one through main WAN and one through LTE backup, automatic failover to LTE when WAN fails. |
| See also: [[https:// | See also: [[https:// | ||
| Line 7: | Line 7: | ||
| Navigate to **LuCI -> Network -> Switch** to create second VLAN. | Navigate to **LuCI -> Network -> Switch** to create second VLAN. | ||
| - | {{: | + | {{: |
| Navigate to **LuCI -> Network -> Interfaces** to create WAN2 interface. | Navigate to **LuCI -> Network -> Interfaces** to create WAN2 interface. | ||
| Line 24: | Line 24: | ||
| Create unmanaged VPN interfaces, bring up on boot, firewall wan zone | Create unmanaged VPN interfaces, bring up on boot, firewall wan zone | ||
| - | {{: | + | {{: |
| Create two VPN connections for your VPN provider. | Create two VPN connections for your VPN provider. | ||
| - | Make sure to explicitly utilize the VPN interfaces created beforehand. | + | Be sure to explicitly utilize the VPN interfaces created beforehand. |
| Bind each VPN profile to the respective WAN interface. | Bind each VPN profile to the respective WAN interface. | ||
| Prevent routes from getting pushed. | Prevent routes from getting pushed. | ||
| Line 67: | Line 67: | ||
| Take the remotes VPNX_IPX from the VPN config and route them through the appropriate interface in **LuCI -> Network -> Static Routes**. | Take the remotes VPNX_IPX from the VPN config and route them through the appropriate interface in **LuCI -> Network -> Static Routes**. | ||
| - | {{: | + | {{: |
| Now start both VPNs and unplug WAN and check: | Now start both VPNs and unplug WAN and check: | ||