What I want to achieve is to enable forwarding of uTorrent ports. Just for simplicity I didn’t use any firewall filter rules during test.
First run: Enabled UPNP on both uTorrent and router.
/ip upnp
set allow-disable-external-interface=no enabled=yes show-dummy-rule=yes
/ip upnp interfaces
add disabled=no interface=pppoe-wan type=external
add disabled=no interface=bridge-lan type=internal
uTorrent’s (2.2) Setup Guide - Network test finished green. No problem so far.
UPNP as expected had created the last two dynamic NAT rules shown below (BTW xxx.xxx.xxx.xxx is my external IP, 192.168.0.2 is the computer where uTorrent runs and 192.168.0.1 is the router/bridge interface IP).
0 chain=srcnat action=masquerade out-interface=pppoe-wan
1 ;;; Redirect to proxy
chain=dstnat action=redirect to-ports=8080 protocol=tcp dst-port=80
2 D chain=dstnat action=dst-nat to-addresses=192.168.0.2 to-ports=56881 protocol=tcp dst-address=xxx.xxx.xxx.xxx dst-port=56881
3 D chain=dstnat action=dst-nat to-addresses=192.168.0.2 to-ports=56881 protocol=udp dst-address=xxx.xxx.xxx.xxx dst-port=56881
Next run: Disabled UPNP on both uTorrent and router. Dynamic NAT rules where removed.
Then I rewrite those two rules by hand, exactly as they where before.
0 chain=srcnat action=masquerade out-interface=pppoe-wan
1 ;;; Redirect to proxy
chain=dstnat action=redirect to-ports=8080 protocol=tcp dst-port=80
2 ;;; uTorrent
chain=dstnat action=dst-nat to-addresses=192.168.0.2 to-ports=56881 protocol=tcp dst-address=xxx.xxx.xxx.xxx dst-port=56881
3 chain=dstnat action=dst-nat to-addresses=192.168.0.2 to-ports=56881 protocol=udp dst-address=xxx.xxx.xxx.xxx dst-port=56881
Unfortunately uTorrent’s network test failed this time finishing red. After a few minutes of scratching my head I disabled web proxy rewrite NAT rule and voila, uTorrent finished green once again.
Any idea of why redirecting port 80 to proxy affects forwarding port 56881, and why this didn’t happen when UPNP was enabled?
Thanks in advance!