cabbagepatchkid
New Around Here
Hi All,
I have a RT-N66U running merlin with the IP address 192.168.1.1. Connected wirelessly to that I have a TP-Link router running DD-WRT. This has the IP address 192.168.2.1 and there's an entry in the routing table on the merlin to this router. This all works fine except for when it comes to UPnP.
If a device on the DD-WRT tries to use UPnP the following message appears in the merlin log:
Using the JFFS custom scripts feature, I have created a copy of the miniupnpd config file and edited in an attempt to let it accept connections from this subnet, however it doesn't work and I instead get the messages below.
Any idea how I can get this working? Thanks!
Here's my config file:
I have a RT-N66U running merlin with the IP address 192.168.1.1. Connected wirelessly to that I have a TP-Link router running DD-WRT. This has the IP address 192.168.2.1 and there's an entry in the routing table on the merlin to this router. This all works fine except for when it comes to UPnP.
If a device on the DD-WRT tries to use UPnP the following message appears in the merlin log:
HTTP peer 192.168.2.2:43392 is not from a LAN, closing the connection
Using the JFFS custom scripts feature, I have created a copy of the miniupnpd config file and edited in an attempt to let it accept connections from this subnet, however it doesn't work and I instead get the messages below.
Any idea how I can get this working? Thanks!
Jan 4 21:59:50 miniupnpd[654]: HTTP listening on port 59383
Jan 4 21:59:50 miniupnpd[654]: setsockopt(udp, IP_ADD_MEMBERSHIP): No such device
Jan 4 21:59:50 miniupnpd[654]: Failed to add multicast membership for interface 192.168.2.0
Jan 4 21:59:50 miniupnpd[654]: setsockopt(udp, IP_ADD_MEMBERSHIP): No such device
Jan 4 21:59:50 miniupnpd[654]: Failed to add multicast membership for interface 192.168.1.0
Jan 4 21:59:50 miniupnpd[654]: setsockopt(udp_notify, IP_MULTICAST_IF): Cannot assign requested address
Jan 4 21:59:50 miniupnpd[654]: Failed to open sockets for sending SSDP notify messages. EXITING
Here's my config file:
ext_ifname=eth0
#listening_ip=br0
listening_ip=192.168.1.0/24
listening_ip=192.168.2.0/24
port=0
enable_upnp=yes
enable_natpmp=yes
secure_mode=yes
upnp_nat_postrouting_chain=PUPNP
upnp_forward_chain=FUPNP
upnp_nat_chain=VUPNP
min_lifetime=120
max_lifetime=86400
notify_interval=60
system_uptime=yes
friendly_name=RT-N66U
model_number=380.63
serial=f8:32:e4:ab:96:70
lease_file=/tmp/upnp.leases
clean_ruleset_interval=600
clean_ruleset_threshold=20
presentation_url=http://192.168.1.1:80/
uuid=99fcb29e-92b9-4b29-9e0e-70f4edf7718e
allow 1024-65535 192.168.1.0/24 1-65535
allow 1024-65535 192.168.2.0/24 1-65535
deny 0-65535 0.0.0.0/0 0-65535