Connectivity Problem with Garry's Mod - Garry's mod cant bind 2 ipv4 addresses

System Information

Field Value
Operating System Windows - Windows 10 Pro on x86_64
Product AMP ‘Callisto’ v2.5.1.0 (Mainline)
Virtualization HyperV
Application Garry’s Mod
Module GenericModule
Running in Container No
Current State Stopped

Problem Description

Issue

Iam using a p2p network(Zero Tier) to host game-servers. I have to use some kind of vpn or p2p networking solution, because of CG-Nat. In my current install of garry’s mod there was no problem with that. If i set the Ipv4 to the p2p networks adress, the server will start but cant download addons. If i start the server with my home networks ip, addons work but you cant join via the p2p networks adress. I found a way, but its not intended i think and doesnt work from amps perspective. Setting the ip-address in security&privacy to my home networks ip and adding a +ip in “additional Console Variables” in the gmod server settings. The server can be joined but amp is stuck in starting and doesnt log/register anything that happens on the server.

Reproduction Steps

  • Create Gmod instance
  • Have 2 networks, one with internet access and one without(p2p)
  • Configure Steam Workshop Collection ID and Web API key
  • Set Server IP-Address to p2p address
  • Start the instance