Skip to content

Port mapping not working until router reload #37

Description

@14ttran

After creating a port mapping just like this:

device.CreatePortMap(new Mapping(Protocol.Ucp, Port, Port));

and verifying it's in the devices map with:

foreach (Mapping portMap in device.GetAllMappings())
{
     Console.WriteLine(portMap.ToString());
}

My port listener won't pick up any incoming messages from a client I have connected to the public IP of my router and the same port until I go into my router network manager and reload the firewall settings.

Same thing if the maps are deleted, it won't take effect until the router settings are reloaded.

I have an ARRIS TG1682G gateway with Xfinity (Comcast) ISP.

afaik there's no real way to programmatically solve this but I thought I'd at least put this out there for others to know

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions