Hello,
I've been trying to setup port forwarding on the SRX (well, for the first time) using these commands:
set applications application RDP protocol tcp
set applications application RDP destination-port 3389
set security zones security-zone trust address-book address main-server 10.100.9.9/32
set security nat destination pool server-rdp address 10.100.9.9/32 port 3389
set security nat destination rule-set dst-nat rule main-server-rdp match destination-address 0.0.0.0/0
set security nat destination rule-set dst-nat from zone untrust
set security nat destination rule-set dst-nat rule main-server-rdp match destination-port 44000
set security nat destination rule-set dst-nat rule main-server-rdp then destination-nat pool server-rdp
set security policies from-zone untrust to-zone trust policy untrust-to-trust-rdpms match source-address any
set security policies from-zone untrust to-zone trust policy untrust-to-trust-rdpms match destination-address main-server
set security policies from-zone untrust to-zone trust policy untrust-to-trust-rdpms match application RDP
set security policies from-zone untrust to-zone trust policy untrust-to-trust-rdpms then permit
It doesn't seem to work - I couldn't access the forwarded RDP port from my mobile LTE connection. On a side note, dynamic VPN is enabled, I'm not sure if that's the problem or not.
Thank you.