Project

General

Profile

Actions

Feature #290

open

Add Multi-WAN awareness to UPnP

Added by Jim Pingle almost 15 years ago. Updated over 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Multi-WAN
Target version:
Start date:
01/09/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

Eventually it would be nice to allow selection of the WAN-type interface used by miniupnpd. Right now it's hardcoded as WAN.

If it can be made to operate on two WAN-type interfaces, that would be ideal, but failing that it would be good to have a selector to choose which WAN is used when more than one is available.

Actions #1

Updated by Seth Mos almost 15 years ago

upnp is already multi interface aware afaik. I know it can atleast use multiple LAN connections. Might need to check if it support binding to multiple outside addresses as well.

Just making upnp add rules for both WAN interfaces is doing the simplest thing here, considering you are opening up a port on your router anyhow, it might as well be both.

Actions #2

Updated by Simon Fong about 13 years ago

I just tested pfSense 2.0-RELEASE and with multiple WAN w/ multiple public IP addresses, selecting the LAN interface did not work properly. uPnP only binded to one of my WAN. uPnP does not add proper rules or open ports for multiple WAN interfaces.

Actions #3

Updated by Jim Pingle almost 12 years ago

There is a MULTIPLE_EXTERNAL_IP option in miniupnpd that allows you to specify multiple external IP addresses, and then map them based on the local client like so:

listening_ip=192.168.0.1/24 x.x.x.100

That maps traffic from 192.168.0.1/24 to the external IP of x.x.x.100.

The dist config seems to suggest that using multiple ext_iface lines will work, and a quick experiment suggests that does work as well, but it doesn't add the mappings to all interfaces, only the last one listed, so it may not be quite that easy.

See also #2743

Actions #4

Updated by Michael Kellogg almost 9 years ago

any odd of this making 2.3 seems other users of miniupnpd claim it works haven't studied the config differences

Actions #5

Updated by Michael Clews over 1 year ago

I am really interested in this feature as i use dual wan and this is a must have in my book as changing wan for UPNP every time my wan fails over

Actions #6

Updated by Lucas Tam over 1 year ago

Same, interested, all packages should have multi-wan awareness?

Actions

Also available in: Atom PDF