7

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.

top 5 comments
sorted by: hot top controversial new old
[-] panja@lemmy.world 1 points 1 year ago

What are you getting for your dns server from dhcp?

[-] wiggles@programming.dev 1 points 1 year ago

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

[-] stown@sedd.it 1 points 1 year 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).

[-] stown@sedd.it 1 points 1 year 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.

[-] wiggles@programming.dev 1 points 1 year 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.

this post was submitted on 23 Jul 2023
7 points (100.0% liked)

Selfhosted

39677 readers
616 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS