ntop / n2n

Peer-to-peer VPN
GNU General Public License v3.0
6.18k stars 930 forks source link

introduced n2n-portfwd tool #1008

Closed Logan007 closed 2 years ago

Logan007 commented 2 years ago

This PR intends to add a port-forwarding tool tools/n2n-portfwd which continuously queries the edge's management port and uses the information gathered to facilitate port forwarding through network routers by use of UPnP and/or PMP.

It is part of ongoing efforts to outsource non-core functionalities from, well ..., the n2n core.

codecov-commenter commented 2 years ago

Codecov Report

Merging #1008 (5515f2c) into dev (99b6b6b) will decrease coverage by 0.30%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##              dev    #1008      +/-   ##
==========================================
- Coverage   21.22%   20.92%   -0.31%     
==========================================
  Files          45       47       +2     
  Lines        8255     8374     +119     
==========================================
  Hits         1752     1752              
- Misses       6503     6622     +119     
Impacted Files Coverage Δ
src/edge.c 0.00% <ø> (ø)
src/edge_management.c 0.00% <0.00%> (ø)
src/edge_utils.c 1.80% <ø> (ø)
src/n2n_port_mapping.c 0.00% <0.00%> (ø)
tools/n2n-portfwd.c 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 99b6b6b...5515f2c. Read the comment docs.