Open.NAT is a lightweight and easy-to-use class library to allow port forwarding in NAT devices (Network Address Translator) that support Universal Plug and Play (UPNP) and/or Port Mapping Protocol (PMP).
See the version list below for details.
Install-Package Open.Nat -Version 2.0.12
dotnet add package Open.Nat --version 2.0.12
<PackageReference Include="Open.Nat" Version="2.0.12" />
paket add Open.Nat --version 2.0.12
Allows the creation of mappings with arbitrary Private IP address.
Fixes [defect #22](https://github.com/lontivero/Open.NAT/issues/22).
- Routers failed with 404 when service control url had a question mark (?)
- DD-WRT Linux base router (and others probably) fails with 402-InvalidArgument when index is out of range.
- Some routers retuns invalid mapping entries with empty internal client.
Fixes [defect #24](https://github.com/lontivero/Open.NAT/issues/24).
GetSpecificMappingEntry fails with 402-InvalidArgument in DD-WRT Linux base router when mapping is not found.
Fixes defect #20. Absolute service control URL path and query miscalculated.
Fixes defects #16. Parameterless DiscoverDeviceAsync method throws exception
Fixes several defects. #10, #11, #12, #13 and #14
Thus version breaks backward compatibility with v1.
Changes the event-based discovery process' nature to an asynchronous one.
Fix for SSDP Location header.
After this version Open.NAT breaks backward compatibility.
Minor changes previous to v2.
Discovery timeout raises an event.
Permanent mappings are created when NAT only supports that kind of mappings.
Protocol to use in discovery process can be specified.
Automatic renew port mappings before expiration.
Add operations timeout after 4 seconds.
Add parameters validation in Mapping class.
Fix UnhandledException event was never raised.
Discovery timeout added.
Auto release ports opened in the session.
Fix NextSearch to use UtcNow (also performance)
Fix LocalIP property after add a port.
This package has no dependencies.
Showing the top 3 GitHub repositories that depend on Open.Nat:
[WIP] Ulterius™ server where all the magic happens :rocket: :feelsgood:
Cities: Skylines Multiplayer - A multiplayer mod for Cities: Skylines.
Multiplayer mod for Kerbal Space Program (KSP)