Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
Hi! Thank for replying!
I certainly won't disagree about misunderstanding, and thank you for explaining. I noticed you saying that for VPS I would certainly want to be using NAT, would that also apply for dedicated server? As that's what I'm using and thought there was a difference. (Sorry if I come across as dense, it's because I am dense haha.)
I would quite happily still use NAT if there was a way that I could open a range of ports for one of the VM's. As I do want to expose that VM to the internet as it'll be used for deploying several steam game servers.
Which is why I thought that my option would be to purchase a secondary IP, create a virtual nic using the details of that secondary ip, and create a pfsense vm and have that acting as a dhcp for the vm that I want to expose with a range of open ports.
I then thought that instead of purchasing a secondary ip, maybe I could still achieve this if I changed my host(currently windows) to proxmox or exsi to achieve what I'm hoping to try and do. But the more that I'm reading, the more I'm thinking I might just need that second ip.
Purchasing a second IP won't stop you from needing to forward ports. As long as you're exposing services to the internet you'll need to open and forward ports as any kind of firewall requires you to poke holes for the services you want people to access.
What you might be able to do if you just want port ranges is setup a PFsense VM with two virtual NICs, one bridged with the public IP you're renting and one set to a VMware internal network (I think that's the verbage VMware uses) as a LAN, then connect all of your individual virtual machines to that internal network. You would need to somehow access the PFsense webgui from an internal VM though as that shouldn't ever be exposed to the outside internet, and there is the performance hit to consider if your server is at all resource constrained
From a networking standpoint there's no difference between a VPS and a dedicated server. A VPS is just a VM that you're renting sharing hardware with a bunch of other VMs rented by other customers, meanwhile a dedicated server is renting an entire server (I've also seen some services offering the middle ground of a dedicated CPU where you aren't potentially sharing CPU cycles but still get the cost efficiency of sharing hardware. Still exactly the same from a networking standpoint though)
Why do you believe you need a second IP?