this post was submitted on 23 Jul 2023
6 points (87.5% liked)

Selfhosted

39435 readers
8 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
 

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.

all 7 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago (2 children)

What are you getting for your dns server from dhcp?

[–] wiggles 1 points 1 year ago (1 children)

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

[–] [email protected] 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).

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

Make sure the client is getting a DHCP address from opnsense, and not somewhere else.