Skip to Content

CXUDPSRC Command - UDP Source Port

Configures the source port for UDP packet transmission.


What is it for?

Use caseDescription
🔒 FirewallComply with rules requiring specific port
🌐 NAT/Port ForwardingConfigure port forwarding on router
🔀 Multiple devicesDifferentiate devices on same network
🛡️ SecurityUse non-standard ports

Description

Defines the local port number that Rinho uses as source when sending data via UDP. Useful for firewall and NAT configurations that require specific ports.


Commands

Configure

SCXUDPSRCaaaa

Query

QCXUDPSRC

Response

RCXUDPSRCaaaa

Parameters

ParameterDescriptionRangeDefault
aaaaUDP source port1024-655352000

Examples

Configure port 5000

>SCXUDPSRC5000<

The device will use local port 5000 to send UDP packets.

Configure port 8080

>SCXUDPSRC8080<

Restore default

>SCXUDPSRC2000<

Use Cases

Firewall with specific rules

>SCXUDPSRC5000<

Firewall only allows UDP traffic from port 5000.

NAT with Port Forwarding

>SCXUDPSRC3000<

Router forwards responses to device’s port 3000.

Multiple devices on same network

Device 1: >SCXUDPSRC2000< Device 2: >SCXUDPSRC2001< Device 3: >SCXUDPSRC2002<

Each device uses different port to avoid NAT conflicts.


Notes

  • Change requires reconnection to take effect
  • Port must be available (not used by another application)
  • Recommended range: 1024-65535 (non-privileged ports)

Compatibility

💾Firmware v1.03.00
SPLegacy
ULLegacy
MTLegacy
💾Firmware v1.00.00
SP-IOT
SM-IOT

See Also

Last updated