summaryrefslogtreecommitdiff
path: root/docs/installation/cloud
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2026-11-02 19:41:24 +0200
committerGitHub <noreply@github.com>2026-11-02 19:41:24 +0200
commit61050d1671777c1101ea22f33d53e983b6aeb28f (patch)
tree6dfe6f1129a27774151f4bc70929e3dc74fe7f1e /docs/installation/cloud
parente505b06f928fa98c82c3884b75d7e91b85de6c49 (diff)
parent76f8eb689450ca9edf4c8c9880e370655e3f25c0 (diff)
downloadvyos-documentation-61050d1671777c1101ea22f33d53e983b6aeb28f.tar.gz
vyos-documentation-61050d1671777c1101ea22f33d53e983b6aeb28f.zip
Merge pull request #2329 from jeleel-muibi/docs-azure-nic-ip-forwarding
docs: document Azure forwarding prerequisites
Diffstat (limited to 'docs/installation/cloud')
-rw-r--r--docs/installation/cloud/azure.md34
1 files changed, 27 insertions, 7 deletions
diff --git a/docs/installation/cloud/azure.md b/docs/installation/cloud/azure.md
index 24b7b166..efbc7ae4 100644
--- a/docs/installation/cloud/azure.md
+++ b/docs/installation/cloud/azure.md
@@ -72,13 +72,27 @@ running.
## Absorbing Routes
-If you're using the VM as a router, you can use a route table to absorb some or
-all traffic from your virtual network (VNET) with your LAN interface.
-
-1. Create a route table and navigate to **Configuration**.
-2. Add one or more routes for the networks you want to route through the VyOS
+If you're using the VM as a router, you can use a route table to send some or
+all traffic from your virtual network (VNET) through your LAN interface.
+
+1. Enable IP forwarding on every Azure network interface that will forward
+ traffic. In the Azure portal, open the network interface, select
+ **IP configurations**, and enable **IP forwarding**. Alternatively, use the
+ Azure CLI:
+
+ ```none
+ az network nic update \
+ --resource-group <resource-group> \
+ --name <network-interface> \
+ --ip-forwarding true
+ ```
+
+2. Create a route table and navigate to **Configuration**.
+3. Add one or more routes for the networks you want to route through the VyOS
VM. For **Next hop type**, select **Virtual Appliance** and set the **Next
- Hop Address** to the VyOS `LAN` interface.
+ Hop Address** to the private IP address of the VyOS `LAN` interface.
+4. Associate the route table with each workload subnet whose traffic should
+ pass through VyOS.
:::{note}
To create a default route for VMs on the subnet, use
@@ -95,4 +109,10 @@ VyOS includes serial console support by default. However, if you replace the
## References
-<https://azure.microsoft.com>
+% stop_vyoslinter
+
+- <https://azure.microsoft.com>
+- <https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface#enable-or-disable-ip-forwarding>
+- <https://learn.microsoft.com/en-us/azure/virtual-network/tutorial-create-route-table-portal>
+
+% start_vyoslinter