98
submitted 1 year ago by Matt@lemdro.id to c/selfhosted@lemmy.world

My VPS provider is running a promotion where I can get up to 5 additional public IPv4 addresses for a one-time cost of $25 each. I have always only used a single public IP address per VPS. Would there be any advantage of having additional public IP addresses?

I know some people do not consider a VPS self-hosting, but this is the most relevant community I could think of and the question is also applicable for homelabs as well.

you are viewing a single comment's thread
view the rest of the comments
[-] korthrun@lemmy.sdf.org 19 points 1 year ago

There are cases where forward and reverse DNS need to match, and you may not want to have any association between two domains. SMTP is something that comes to mind. If your HELO/EHLO domain doesn't match up, there are many servers that just won't deliver your mail. I host my own email, and I work with very technical people. I don't want "fun-domain.com" and "domain-on-my-resume.com" resolving to the same IP address. But I can host them on the same server.

There's still some software out there that does not support SNI.

While your post body focuses on VPS, your question doesn't, so I'll also mention self hosting your own VMs. You can do a lot with reverse proxies and funky port based traffic routers, but sometimes just giving the VM it's own IP is way simpler. Especially if you don't mind hosting the VM, but aren't interested in managing the service. I host a VM for a MUD I used to play. I don't run the MUD, I don't want to. I want them to be able to do stuff on their website without me having to edit a reverse proxy config, or without having to give them access to the host server.

It can also be used to increase the number of connections you can have to a single interface.

Perhaps you're hosting your own VPN and you want traffic to come out an entirely different interface than the one your other services are on, for segregation reasons.

A secondary IP can also allow for a bit of service redundancy. Probably not the most relevant thing in self-hosting land, but the ability to move an IP between two different VPSs (assuming they're on different hypervisors anyway) is pretty handy.

this post was submitted on 06 Jun 2025
98 points (100.0% liked)

Selfhosted

61901 readers
782 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS