ethereum / trin

An Ethereum portal client: a json-rpc server with nearly instant sync, and low CPU & storage usage
377 stars 112 forks source link

Automatically forward port through NAT, using UPnP #22

Open carver opened 3 years ago

carver commented 3 years ago

Look at how the following project does it: https://github.com/pzmarzly/portforwarder-rs/blob/master/src/bin/pf.rs

Probably just use igd directly.


On second thought: this is probably unnecessary, because the outbound requests will punch a hole in the NAT, and the PONGs provide the externally observed IP & port.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 42 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

pipermerriam commented 1 year ago

Is this a mistake? Automated UPnP seems valuable for NAT'd users.