Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - DubstepDude

#1
I do have Dual Stack so using an IPv6 would not be a problem, the only problem is my skill issue in setting that up since i dont have any knowledge but a rough plan on what i want it to do.
#2
Hello,

First, let me explain the setup of my server and network. I own a Fujitsu Primergy RX300 S8 with Dual Xeon E5-2650v2 processors and 384 GB ECC Buffered RAM. We have Proxmox 8.1.4 and OPNsense 24.1.1 installed on this. It hosts VMs for me and colleagues where we run various programs. The first image shows my current network, and the second one illustrates how I envisioned it.

The overall goal is to make, for example, VM-1 accessible only via vm1.domain.com, and VM-2 via vm2.domain.com, and so on.

For instance, if three VMs are using port 7777 or 25565 for games like ARK, Terraria, or Minecraft, the idea is to access the servers by adding the subdomain, and possibly also ports that are not in use yet. (A user connects to vm2.domain.com, the game automatically adds the port, and the network redirects through the domain using a reverse proxy, proxy, or a similar method to the second VM in the network.)

The main reason is that some Game Server require the Query Ports from steam and i cant really devide up a port to multiple VMs at the same time on a single IPv4.

I've watched some videos about it, but I haven't managed to set it up correctly. I tried the tutorial of this person https://forum.opnsense.org/index.php?topic=23339.0, but that didn't really work for me. My plan was to have each subdomain with all ports available so that everyone can use all ports, considering we only have one IPv4 address.

How can I set this up? I tried using HAProxy, but I couldn't get it to work.

Example: (User1 tries to connect to vm2.domain.com and is being connected to the 2nd VM in the network. If he connects with the IP vm1.domain.com, he gets redirected to vm1 inside the network, the same for any other port pretty much, so I don't have to add every single port into the firewall myself.)

Best regards, DubstepDude
#3
Hallo,

Erstmal zu meinem aufbau des Servers und Netzwerkes.
Ich besitze einen Fujitsu Primogy RX300 S8 mit Dual Xeon E5-2650v2 und 384 GB ECC Buffered RAM.
Wir haben auf diesem Proxmox 8.0.4, und auf diesem laufen VMs von mir und Kollegen wo wir verscheidene programme laufen lassen, auf dem ersten bild sieht man mein derzeitiges netzwerk und auf dem 2ten ein beispiel wie ich mir das vorgestellt habe.

Also das ziel insgesammt ist es das z.b VM-1 nur über vm1.domain.de erreichbar sein kann VM-2 unter vm2.domain.de usw...

Also wenn z.b 3 VMs denn port 7777 benutzen für ARK oder Terraria das man auf die server kommt indem man die subdomain hinzufügt, ggf auch ports die noch nicht in benutztung sind.
(user verbindet sich mit vm2.domain.de, port wird automatisch vom spiel hinzugefügt und  leitet das netzwerk über die domain(reverse proxy, proxy oder so) an die 2te VM im Netzwerk)

Ich hab mir zwar ein paar video dazu angeguckt aber es bisher noch nicht geschaft das richtig aufzustellen, mein plan war es das jede subdomain alle ports verfügbar hat damit jeder alle ports nutzen kann da wir nur eine IPV4/6 adresse haben.

Wie kann ich das aufsetzen?
Ich hab es mal per HAProxy versucht aber nicht instand bekommen.

LG
DubstepDude
#4
Also ich wollte über mein Fritz Netz (192.178.168.50(meinpc) auf die OPNsense GUI zuzugreifen (192.168.1.1) aber ich habs bisher nicht geschafft.
Ich kann aber jetzt von der VM-Windows (192.168.1.110) auf die Oberfleche der Fritte zuzugreifen und auch auf die Oberfleche von OPNsense aber halt nicht mit meinem PC ;-;
Ich habe versucht die einstellungen die du aufgeschrieben hattest anzuwenden aber ich habs nicht geschaft es zum laufen zu bringen.
#5
Kann ich auch die IP im Terminal einrichten?
Und ist die IP die ich dem gegeben habe okey?

Danke für deine Antwort!
#6
Moin,

Ich habe OPNsense auf meinem Proxmox Server eingerichtet und diesem auch 2 Netzwerk Schnittstellen gegeben.
Internet kommt problemlos an aber ich kann über mein lokales netzwerk nicht drauf zugreifen.
Bei meiner FritzBox habe ich denn Exposed Host für das gerät 192.168.178.101 eingerichtet und diesem auch die feste ip gegeben, aber ich komme nicht aufs GUI drauf.

Mein Ziel ist es alle VMs (außer OPNsense) über OPNsense zu managen, aber ich hab keine ahnung mehr was ich machen kann.

Die Grafik hab ich angehangen