Help to connect UDP device - Belkin Net USB-HUB
Posted: Tue Apr 26, 2011 10:08 am
Hello.
I have RB493G router. And I cannot make the USB NetHub (http://en-us-support.belkin.com/app/pro ... ail/p/4780) working. I suppose this HUB needs TCP and UDP to connect to clients. It uses port 19540 to connect. The client uses software to use the device, connected to HUB. For instance my client has address 192.168.130.54/24, router has 192.168.130.1/24 and NET HUB has 192.168.130.96/24.
When I run the Net HUB software on the client it sends some traffic like
UDP Src 192.168.130.54:49995 Dst 255.255.255.255:19540
to find the HUB.
And the HUB sends answer like
UDP Src 192.168.130.96:19540 Dst 192.168.130.1:49995.
That's why I cannot see the HUB - Mikrotik router redirects HUB packets to itself. To avoid this I included the firewall NAT rule:
0 ;;; Belkin Net HUB
chain=dstnat action=dst-nat to-addresses=192.168.130.54 protocol=udp src-address=192.168.130.96 src-port=19540
dst-limit=100000,5,dst-address/1m40s
Now I can see devices, connected to Net HUB. But I cannot connect to it.
Te HUB help requires to set firewall rules on the client:
Name: NUHCC (Out)
TCP or UDP: TCP
Port Range: 19540 to 19540
For Connections: Outbound [remote ports]
Scope: Internet
Name: NUHCC(IN)
TCP or UDP: UDP
Port Range: 19540 to 19540
For Connections: Inbound [local ports]
Scope: Internet
If I switch off the Connection Tracking function, then HUB works good. But many other router functions also are stopped.
Help me, please. What should I do to make this HUB working?
I have RB493G router. And I cannot make the USB NetHub (http://en-us-support.belkin.com/app/pro ... ail/p/4780) working. I suppose this HUB needs TCP and UDP to connect to clients. It uses port 19540 to connect. The client uses software to use the device, connected to HUB. For instance my client has address 192.168.130.54/24, router has 192.168.130.1/24 and NET HUB has 192.168.130.96/24.
When I run the Net HUB software on the client it sends some traffic like
UDP Src 192.168.130.54:49995 Dst 255.255.255.255:19540
to find the HUB.
And the HUB sends answer like
UDP Src 192.168.130.96:19540 Dst 192.168.130.1:49995.
That's why I cannot see the HUB - Mikrotik router redirects HUB packets to itself. To avoid this I included the firewall NAT rule:
0 ;;; Belkin Net HUB
chain=dstnat action=dst-nat to-addresses=192.168.130.54 protocol=udp src-address=192.168.130.96 src-port=19540
dst-limit=100000,5,dst-address/1m40s
Now I can see devices, connected to Net HUB. But I cannot connect to it.
Te HUB help requires to set firewall rules on the client:
Name: NUHCC (Out)
TCP or UDP: TCP
Port Range: 19540 to 19540
For Connections: Outbound [remote ports]
Scope: Internet
Name: NUHCC(IN)
TCP or UDP: UDP
Port Range: 19540 to 19540
For Connections: Inbound [local ports]
Scope: Internet
If I switch off the Connection Tracking function, then HUB works good. But many other router functions also are stopped.
Help me, please. What should I do to make this HUB working?