OPNsense Forum

English Forums => General Discussion => Topic started by: quiloos39 on July 08, 2023, 02:47:55 PM

Title: Network Setup: Troubleshooting Internet Connectivity Issue
Post by: quiloos39 on July 08, 2023, 02:47:55 PM
I have following setup
(https://i.imgur.com/xbuE1Oj.jpg)

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
(https://i.imgur.com/Dlcqqej.png)

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
(https://i.imgur.com/qgXvrmR.png)

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
(https://i.imgur.com/T1zi3ae.png)
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.

Title: Re: Network Setup: Troubleshooting Internet Connectivity Issue
Post by: CJ on July 08, 2023, 09:23:01 PM
I'm a bit confused.  You have your Proxmox directly connected to the internet?  Is this your entire network or can you provide a diagram of the whole setup?

Are you trying to use a virtual OPNSense for your entire network or is this just a lab configuration?  Are you trying to run everything off of just one physical NIC?