NAT multiple ports to a single port
Cranium
Newbie ✭
I need to forward a port range to a single port.
This is what I have configured and have working now:
Access Rule from WAN to LAN to allow an address group (several IPs) with a service group (range of TCP ports). NAT policy from WAN IP mapped to internal IP with the same service group in the access rule
The above works fine but I need a rule to forward the range of TCP ports to a single TCP port. When I add a named TCP port in the Translated Service, I receive "Error: Unknown service class" which doesn't make sense to me.
Any suggestions?
Category: Entry Level Firewalls
0
Answers
Hi @Cranium ,
I found a KB link that explains the error. Please check the link below and let us know if you have any queries or concerns:
Regards,
Nevyaditha
Nevyaditha P
Technical Support Advisor, Premier Services
Hi @Cranium ,
Please verify if the translated service object in the NAT policy is a service group and not an individual TCP port as you want. That might give rise to that error.
Thanks!
Shipra Sahu
Technical Support Advisor, Premier Services
Hi @Cranium,
In simple words, technically it is not possible to translate traffics sent on multiple ports to a single port on a NAT policy. Firewall is going to throw an error message "Error: Original Source:Unknown service class".
This is by design and applies to all SonicWall Firewall models.
The best method of accomplishing your requirement is to configure multiple NAT policies mapping single original and translated ports. The WAN to LAN access rule can be of single that contains all ports using a service group.
I hope this clarifies.
Regards
Saravanan V
Technical Support Advisor - Premier Services
Professional Services
If what you are saying is indeed true, Sonicwall will not work for ANY customer doing B-B with Walmart. They have a requirement of all ports, 1024 and above, being open for their servers to transfer electronic orders. There is a single listener port open on my side. It would not be possible to set up this many individual port forwards.
I found a couple issues with port forwarding in Sonicwall which appear to be inconsistencies.
Hey @Cranium,
You can try this. Please create two separate service objects with the same TCP port and directly use those service objects in the translated service field on the NAT policies.
That might help!
Thanks
Shipra Sahu
Technical Support Advisor, Premier Services
Hi @CRANIUM,
I completely understand your client's requirement of all ports starting from 1024 should be translated to a single port.
In this case as per my previous suggestion, its not productive and feasible to configure 1000+ NAT policies. I totally agree with this point and its a valid one.
w.r.t your questions,
Please post in here for any clarifications.
Regards
Saravanan V
Technical Support Advisor - Premier Services
Professional Services