I have following setup

Proxmox
vmbr0 -> PUBLIC IP
vmbr1 -> 10.10.10.0/24 (For router to get local ip)
vmbr2 -> Not configured going to be used for connecting vms to router
10.10.10.0/24 is MASQUERADED
IP Forwarding is enabled

Opnsense VM
vtnet0 (WAN) -> 10.10.10.1/24 (Attached to vmbr1)
vtnet1 (LAN) -> 192.168.2.1/24 (Attached to vmbr2)
Set default gateway to 10.10.10.0
Able to connect internet
Routing Table of Opnsense

Test VM
Attached vmbr2 -> 192.168.2.3/24
Able to ping Opnsense Router which is 192.168.2.1
Unable to connect to internet

While being able to ping Opnsense router, unable to connect to internet I think it has something to do with routing.
Would be glad if anyone could help me.

Proxmox
vmbr0 -> PUBLIC IP
vmbr1 -> 10.10.10.0/24 (For router to get local ip)
vmbr2 -> Not configured going to be used for connecting vms to router
10.10.10.0/24 is MASQUERADED
IP Forwarding is enabled

Opnsense VM
vtnet0 (WAN) -> 10.10.10.1/24 (Attached to vmbr1)
vtnet1 (LAN) -> 192.168.2.1/24 (Attached to vmbr2)
Set default gateway to 10.10.10.0
Able to connect internet
Routing Table of Opnsense

Test VM
Attached vmbr2 -> 192.168.2.3/24
Able to ping Opnsense Router which is 192.168.2.1
Unable to connect to internet

While being able to ping Opnsense router, unable to connect to internet I think it has something to do with routing.
Would be glad if anyone could help me.