English Forums > Tutorials and FAQs

Help with the WAN & LAN port in mini PC with 2 ethernet using proxmox

(1/1)

tulip2mf:
Hello All,
Can you please help me with the noob question?
The setup I imagine is to have a cable from router to my mini pc and then opnsense do all the networking and firewall things and 2nd ethernet port of my PC will go to a switch to various devices and access point.

I followed many tutorials and tried to switch the LAN and WAN ports (not sure whether I did correctly)
I am not able to access the 192.168.1.1 from browser. So currenly I did a clean install and now the HW looks like this in OPNsense side
https://freeimage.host/i/JlzyHL7

I am also running home assistant as VM if thats relevant https://freeimage.host/i/JlIlZxf

This is the network at top level (after removing all the network I created following the videos) https://freeimage.host/i/JlI0xJ1

I did try to find similar topics and even checked for a discord, but was unsuccessful, hence this post
Thanks for your help in advance

dev4openid:
Noob here.

It is unfortunate that you did not get any response.
Hopefully you have come good in your endeavours,

I tried the same thing but with a Mac mini.

What I found was that you had to ensure the ports were well defined in Proxmox and properly configured and tested.
Then you map the OPNSense ports to the Promox ports for WAN/LAN,

I realise that I had it working but had ISP infrastructure challenges.

Lastly, for the record there is a large body of evidence that using Proxmox/OPNSense combination is definitely not advisable.  In my case, I switch to OPNSense on the metal.  Simple to get started, I followed https://homenetworkguy.com/

Good luck

bucky2780:
I have got this to work, and use this approach on an experimental basis only...
Its a bit weird running your router in a vm on proxmox... because the vm has to come up before you home network can get served with ip addresses. This is why bare metal is much easier to deal with for the noob. It is easier to have your network infrastructure run out of band from your trusted services.

I use a Lenovo 1 litre pc, with a 4 x port ethernet card in it... works fine.

For proxmox... you will really need 3 x nic's to keep things simple.
- Wan (connects to your router/modem for internet)
- LAN (serve your home with trusted network services and dhcp)
- Proxmox management port (part of your lan. this is where the proxmox UI is defined)

In prox, you can define Lan and Wan as bridged interfaces... which is the easier way to go... The other alternative is to do PCI passthrough of the nic's, so prox will use the hardware directly, without added software layer of a bridge. The latter is more perfromant, but not really a big issue at the 1Gbit interface level.

Stick with it... its fun to do if you have the time...





Navigation

[0] Message Index

Go to full version