I currently have OPNsense setup inside a proxmox server, and I am having trouble connecting to the internet. It seems like it could be related to DNS. When I ping www.google.com from my lan client (a fedora machine), I get “name or service not known”. When I ping 8.8.8.8 it is successful.
If I use OPNsense diagnostic interface and try to ping www.google.com it is also successful.
I’m not sure what’s going on here. I’m somewhat new to this.
I recommend getting a PCIE Nic and passing it through to the VM. But you can check to make sure the firewall built into Proxmox is disabled, might be the issue.
Yeah, that’s what i have. I setup the two ports on the card for wan/lan and passed them to the VM. I could try disabling the firewall in proxmox.
What are you getting for your dns server from dhcp?
deleted by creator
Grep "nameserver” /etc/resolve.conf , shows 127.0.0.53
In the settings for the DHCP on your local network what do you have set for your DNS Server? If that setting is empty try filling it with 1.1.1.1 (or whatever DNS server you want).
Make sure the client is getting a DHCP address from opnsense, and not somewhere else.