Opnsense installed in proxmox configured pppooee and no internet on proxmox

Started by alonewolf, May 23, 2024, 10:32:52 AM

Previous topic - Next topic
So i only have 2 ports on my motherboard I bought a NIC but unfortunately opnsense was not supported with it so yeah.I have proxmox installed on my system with an internal ip of 192.168.100.9/24. I installed opnsense as a vm and set the lan interface to be the same as proxmox and set an ip of 192.168.100.49 and the wan interface was set to the extra port I had on my motherboard. Lan interface is attached to a managed network switch and wan interface is directly plugged into the isp modem. I bridged the connection from my isp modem to opnsense dialed in all the pppooe credentials and volla opensense recieved an ip and it started working and then I plugged a tp link router to managed switch and got internet out of wifi as well. But the problem was that I had no internet on my proxmox server like I could access the web ui but could not obtain internet on any vm or create another vm becasue there was no internet so I am really confused what did i do wrong is it because opnsense lan ip is on the same subnet as proxmox or something else. Please enlighten me.

Have you set the proxmox's linux bridge to have its gateway as the OPN's IP ?

I think I forgot to do that,I removed the installation will have to do it again.

Quote from: cookiemonster on May 23, 2024, 10:40:25 AM
Have you set the proxmox's linux bridge to have its gateway as the OPN's IP ?

I set the gateway but was still not working.


192.168.100.9/24 ipv4/cidr

I've re-read your initial post and see you only have two physical nics. I misread it that you were diagnosing something slightly different.
OK, so seems like WAN and LAN setup and clients all OK. Just going out from the firewall itself.
System > Settings > General.
What you have enabled and entered there for DNS ?.

Also check the results of System > Firmware > Status : Run an audit drop down and do a "Connectivity check".
Post results if you can and get failures. If you do, it'll be useful the whole result block in code tags.

Sounds like missing default route on guest. Did you add the opnsense IP as Gateway to the VMs and is there a firewall rule allowing lan to wan traffic ?