miniupnp / miniupnp

UPnP IGD implementation
http://miniupnp.free.fr/
BSD 3-Clause "New" or "Revised" License
1.43k stars 452 forks source link

pcp and cgnat #632

Open professor-jonny opened 1 year ago

professor-jonny commented 1 year ago

my connection is behind a cgnat and I'told my isp supports pcp for mapping ports so I am told.

Im not all sure how pcp works but do upnp requests get mapped and passed on upstream via pcp to my isp's router?

as my stock router upnp requests work but with miniupnp on my openwrt router upnp cant get a public ip and forcing an ip or using stun upnp still fails to operate.

miniupnp commented 1 year ago

miniupnpd doesn't not support nat on nat setups directly without specific configuration. please read #333

miniupnp commented 1 year ago

this may be a duplicate of #299

professor-jonny commented 1 year ago

Thanks, I have read the thread and my problem is I have a config with cgnat >isp provided router nat on dmz> openwrt nat.

I am forced to use the isp's router in the middle because the sim card is taglocked to prevent use in unauthorised devices (phone use) as it is government subsided.

used the external IP option and the log indicates to me that I must change the upstream router to a full cone nat but it is in DMZ and I can't get past this issue.

The option of proxy support to redirect upnp upstream sounds like it should sort the problem, I look forward to this feature being implemented.


From: Thomas BERNARD @.> Sent: Sunday, October 16, 2022 12:37:08 AM To: miniupnp/miniupnp @.> Cc: professor-jonny @.>; Author @.> Subject: Re: [miniupnp/miniupnp] pcp and cgnat (Issue #632)

this may be a duplicate of #299https://github.com/miniupnp/miniupnp/issues/299

— Reply to this email directly, view it on GitHubhttps://github.com/miniupnp/miniupnp/issues/632#issuecomment-1279727014, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AINJMKLH4ZRVFFQNQUPRU63WDKJOJANCNFSM6AAAAAARFC77KU. You are receiving this because you authored the thread.Message ID: @.***>

masx200 commented 8 months ago

https://github.com/phillipberndt/upnprd/

masx200 commented 8 months ago

https://github.com/tomaszmrugalski/portproxy