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.

  • stown
    link
    fedilink
    English
    111 months ago

    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.

    • @wigglesOP
      link
      English
      111 months ago

      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.

  • Panja
    link
    fedilink
    English
    111 months ago

    What are you getting for your dns server from dhcp?

    • @wigglesOP
      link
      English
      111 months ago

      deleted by creator

    • @wigglesOP
      link
      English
      111 months ago

      Grep "nameserver” /etc/resolve.conf , shows 127.0.0.53

      • stown
        link
        fedilink
        English
        111 months ago

        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).