Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port mapping not working until router reload #37

Open
14ttran opened this issue Nov 30, 2022 · 0 comments
Open

Port mapping not working until router reload #37

14ttran opened this issue Nov 30, 2022 · 0 comments

Comments

@14ttran
Copy link

14ttran commented Nov 30, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant