"Could not bind ipv6 socket" - Dualstack ipv6 and VM

Hello,

I’m trying to set up a CoD4x server in a Windows Server 2008 proxmox VM on my homeserver. I just copied my basegame with all updates and put in the server files, my startup looks like this: “cod4x18_dedrun.exe” +fs_game zom_db +exec server.cfg +set sv_authtoken X +set dedicated 2 +set sv_pure 0 +set sv_punkbuster 0 +set pb_sv_enable 0 +map_rotate +sv_authorizemode 0 +set net_ip 192.168.188.43 +set net_port 29777"

No matter what I do it will only ever start this way with the local IP from my router. I tried to use “+set net_ip6” with the ipv6 of the VM and the one from the router itself, in any case it causes it to refuse to launch with the “could not bind to ipv6 socket” warning. The server seems to run but obviously not be avaiable online. How do I resolve this? Where do I need which values? It is possible to run a server with home FTTH at all, when I look into the server browser people all seem to have ipv6.

try to bind +set net_ip6 ::1 and see if that helps.
If your VM has DCHP enabled in proxmox networking, leave ipv6 static, and don’t put any address in it.

The VM will still have ipv6, but only link local address.

image

That will not be reachable outside from your LAN.

Plus a side note, Windows Server 2008 is not really safe anymore, so I would urge against using it in any way shape of form, go with some recent lightweight recent linux distribution if you want to host something outside of your network.
Debian 12 or Ubuntu 24.04 would do this job just fine.

Your entire proxmox window looks different, I don’t even get to choose DHPC or static there. My window looks like its just half of what you get. I choose Windows because Linux seems to only complicate things and may not run in a VM at all, as it was said it needs some architecture thing because CoD4 is a Windows application. Do you have any tutorial how to set it up in proxmox? Especially the ip part. Or is it even possible to make it working public when you have a connection like mine?

CoD4 is a Windows application, that is true, but it has dedicated server for linux as well, which is supported too.
It does not complicate things, probably easier, you just need to get familiar with it, it’s not that hard.

Yes, you can use whatever linux you want on Proxmox, and yes, it is possible to use the VM like that.

You need to make sure you have proper Public IPv4 address on your home network, and you are not behind CGNAT.

Second you need to enable port forward in your router to your VM to be able to be reachable from outside LAN.

There are tutorials how to setup this properly, at least the Linux Dedicated server part, the home network and Proxmox setup I can guide if you have questions, you just give it a static IPv4 address on your network, leave IPv6 as is, and you should be okay there too.

I would not use a full VM for this, just a Debian/Ubuntu container, more lightweight, for this application it’s more than enough.

I use Ubuntu 24.04 containers across my homelab, I would suggest you do the same.

You will come across some hurdles if you not familiar with Linux, but I can assume if you use Proxmox, you have somewhat of a Linux knowledge, at least a base level.

If you have questions, probably easier to hop on to Discord, we are more than welcome to assist there, probably quicker too.

Here are the guide you need to follow.