Setup guide
interface (name) - interface name UPnP will be run on
type (external | internal) - interface type, one of the:
• external - the interface global IP address is assigned to
• internal - router's local interface
Notes
It is highly recommended to upgrade DirectX runtime libraries to version DirectX 9.0a or higher
and Windows Messenger to versionWindows Messenger 5.0 or higher in order to get UPnP to work
properly.
Example
We have masquerading already enabled on our router:
[admin@Wandy] ip upnp interfaces> /ip firewall src-nat print
Flags: X - disabled, I - invalid, D - dynamic
0 src-address=0.0.0.0/0:0-65535 dst-address=0.0.0.0/0:0-65535
out-interface=ether1 protocol=all icmp-options=any:any flow=""
connection="" content="" limit-count=0 limit-burst=0 limit-time=0s
action=masquerade to-src-address=0.0.0.0 to-src-port=0-65535
[admin@Wandy] ip upnp interfaces>
Now all we have to do is to add interfaces and enable UPnP:
[admin@Wandy] ip upnp interfaces> add interface=ether1 type=external
[admin@Wandy] ip upnp interfaces> add interface=ether2 type=internal
[admin@Wandy] ip upnp interfaces> print
Flags: X - disabled
# INTERFACE TYPE
0 X ether1 external
1 X ether2 internal
[admin@Wandy] ip upnp interfaces> enable 0,1
[admin@Wandy] ip upnp interfaces> .. set enabled=yes
[admin@Wandy] ip upnp interfaces>
M3P
Document revision 0.3.0 (Wed Mar 03 16:07:55 GMT 2004)
This document applies to Wandy RouterOS V2.8
Table of Contents
Table of Contents
Summary
Specifications
Related Documents
Description
Setup