FixesHardware

Configure Port Forwarding on SonicWall

SCENARIO

Local Network: 10.0.0.0/24
Task: Deliver External Access Terminal Service for Server “SERVER_TS” with ip 10.0.0.15 via SonicWall Cli
Step 1: Creating the Object SERVER_TS:

configure
address-object SERVER_TS
host 10.0.0.15
zone LAN
end
end
Step 2: Creating NAT

configure
nat
add
orig-src Any
trans-src Original
orig-dst “WAN Primary IP”
trans-dst SERVER_TS
orig-svc “Terminal Services”
trans-svc Original
inbound-interface Any
outbound-interface Any
comment “NAT CREATED VIA CLI”
end
finished
Step 3: Creating a Firewall rule

configure
access-rules WAN LAN
add
service “Terminal Services”
source Any
destination “WAN Primary IP”
action allow
comments “TS access”
finished

Conclusion

Then just check in the Web Interface: the object, the Nat rule and Firewall Rule.

Best Regards

Ernander