Initial Setup for Homelab - Routes

Started by m4igor, December 27, 2024, 05:30:54 PM

Previous topic - Next topic


Hello everyone,

I am new to virtualization and networking, and I would like to ask for your help in configuring my homelab.

I have a Proxmox server with 3 network interfaces, but I am currently using only 2 of them:

vmbr0: Receives the network cable from the ONT (DHCP for Proxmox and also for OPNsense)
vmbr1: Connects to the OPNsense LAN network
One unused interface: Not in use at the moment.
Currently, I can access OPNsense through the WAN IP (network 192.168.18.0/24) using the OPNsense firewall configuration.

What I need:
Now, I would like to configure routes so that devices in the 192.168.18.0/24 network can communicate with the VMs in the 192.168.27.0/24 network and vice versa.

Additionally, I have a NAS (OpenMediaVault) that will be placed in the 192.168.27.0/24 network, and I would like it to be accessible from the 192.168.18.0/24 network.

I have done some research on how to configure routes in Proxmox and OPNsense, but I haven't been able to identify where to start.

Could anyone help me with this configuration?

Thanks in advance!

What you call an ONT is a router. It has a WAN IP and does NAT/routing to your internal network.

You could use OPNsense in that role.
But as it is, you're getting another layer of NAT/routing to yet another internal network.
And you want your PCs (on the WAN side of OPN) to communicate with OPN's LAN... That's not going to be practical.

What is the purpose of this second internal network?
You don't seem to want isolation. If the first network was some DMZ, and the second the effective internal network, it would make more sense.

If you want full 2-way communication between the PCs and the LAN side of OPN, the PCs belong to the LAN side...
But again, why would you want to have 2 layers of NAT without a really good reason?