miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Create port mapping using STUN protocol

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Feature Request
View previous topic :: View next topic  

Would it be useful to you?
Useful
0%
 0%  [ 0 ]
Not useful
0%
 0%  [ 0 ]
No opinion
100%
 100%  [ 1 ]
Total Votes : 1

Author Message
mnpp



Joined: 18 Aug 2018
Posts: 1

PostPosted: Sat Aug 18, 2018 1:04 am    Post subject: Create port mapping using STUN protocol Reply with quote

Github issue: https://github.com/miniupnp/miniupnp/issues/322

Please add support for miniupnpd to process STUN requests to create port mappings.

When miniupnpd receives a STUN "Binding" request, it could create a port mapping and return the public IP:port in the "Binding" response. This would be similar to a STUN server, the difference is that the service would run on the LAN interface serving LAN clients only. It effectively turns a STUN-like service into a port mapping service like PCP/NAT-PMP/UPnP.

This would be useful to people who use SIP VoIP clients because many clients (both software and hardware) only support STUN which does not work with certain types of NAT (e.g. symmetric NAT), these NAT problems can be solved by creating port mappings mentioned above.

STUN standard is defined in RFC 5389, which should be enough to create port mappings.

Optionally there is also an experimental standard RFC 5780 which adds support for "NAT Behavior Discovery", that requires the server to have 2 IP addresses and 2 ports, I think 2 private LAN IPs should work which is relatively easy to configure on a router running custom firmware/software like OpenWrt
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Feature Request All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.