Project

General

Profile

Actions

Feature #10587

closed

UPnP/NAT-PMP STUN configuration options

Added by Viktor Gurov over 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
UPnP/NAT-PMP
Target version:
Start date:
05/23/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default

Description

miniupnp allow to use external STUN server to learn WAN IP address in case of NAT 1:1,
this may be useful for double nat cases (many mobile ISP)

https://github.com/miniupnp/miniupnp/blob/master/miniupnpd/miniupnpd.conf:

#ext_ip=
# WAN interface must have public IP address. Otherwise it is behind NAT
# and port forwarding is impossible. In some cases WAN interface can be
# behind unrestricted NAT 1:1 when all incoming traffic is NAT-ed and
# routed to WAN interfaces without any filtering. In this cases miniupnpd
# needs to know public IP address and it can be learnt by asking external
# server via STUN protocol. Following option enable retrieving external
# public IP address from STUN server and detection of NAT type. You need
# to specify also external STUN server in stun_host option below.
# This option is disabled by default.
#ext_perform_stun=yes
# Specify STUN server, either hostname or IP address
# Some public STUN servers:
#  stun.stunprotocol.org
#  stun.sipgate.net
#  stun.xten.com
#  stun.l.google.com (on non standard port 19302)
#ext_stun_host=stun.stunprotocol.org
# Specify STUN UDP port, by default it is standard port 3478.
#ext_stun_port=3478

see also https://forum.openwrt.org/t/miniupnpd-in-trunk-stun-setup/18688

Actions #2

Updated by Jim Pingle over 3 years ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.6.0
  • Plus Target Version set to 21.09
Actions #3

Updated by Renato Botelho over 3 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

Actions #4

Updated by Jim Pingle about 3 years ago

  • Subject changed from STUN configuration in WebGUI to UPnP/NAT-PMP STUN configuration options

Updating subject for release notes.

Actions #5

Updated by Jordan G about 3 years ago

Options for setting STUN configuration is present in UPnP/NAT-PMP on 22.01.a.20211023.0500

Actions #6

Updated by Jim Pingle about 3 years ago

  • Status changed from Feedback to Resolved
Actions #7

Updated by Jim Pingle about 3 years ago

  • Plus Target Version changed from 21.09 to 22.01
Actions

Also available in: Atom PDF