this post was submitted on 28 Aug 2023
14 points (93.8% liked)

Selfhosted

39151 readers
309 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 have a tiny lenovo m900 which i added a second ethernet port to and i'm trying to set it up as a proxmox server with OPNsesne. I've got the OPNsense VM setup with the two ethernet ports bridged to it. Everything is working fine on the network except my proxmox server doesnt have an internet connection. How can i set it up so that one of the ports acts as my LAN default gateway and also functions as the management port for proxmox. I'm guessing that's what is causing this issue.

you are viewing a single comment's thread
view the rest of the comments
[–] SheeEttin@lemmy.world 0 points 1 year ago (1 children)

Proxmox lets you do that? Don't. Just give the opnsense VM a virtual NIC and do a router-on-a-stick configuration.

You could also just assign one physical port to the opnsense VM and still do a router-on-a-stick.

Although personally, I wouldn't recommend virtualizing your network gateway. If you break Proxmox, you'll also lose Internet access. And if you have to do maintenance on Proxmox, same issue.

[–] gray@lemmy.boltwolf.net 3 points 1 year ago

The inverse is my recommendation to virtualize the firewall, easy backups/snapshots, migrate to another host, setup CARP, etc.