dmauser / opnazure

This template allows you to deploy an OPNsense Firewall Azure VM using the opnsense-bootsrtap installation method

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cant reach internet from vm in spoke

sergioaten opened this issue · comments

Hi!

I will describe my scenario.

I have vnet hub with 10.0.0.0/24 address space with OPNSense twonics configured.
I have vnet spoke with 10.1.0.0/24 address space with a vm to do tests.
I configured rules to allow the traffic from the spoke in LAN and WAN interface.

In the subnet spoke, i have an UDR which have a route with 0.0.0.0/0 to OPNsense trusted NIC IP how you explain in the documentation.
But my vm in the spoke to test cant reach internet.

The traffic reach to the firewall, but doesnt comes to reply the vm.
Screenshot fw.

I guess i have some problem with routing, but idk what.

Regards.

Did you set up a NAT - Outbound Rule on the OPNSense?
https://docs.opnsense.org/manual/nat.html#outbound

yes, that was it. I configured it 3 hours ago and its working.

Regards!