We'd love to hear about it! Click here to go to the product suggestion community
I have migrated from V17x to V18 some month ago and with the very small used functions at home everything was working fine afterwards.
I was tying to setup a DNAt rules with port translation today without success. I used the wizard for DNAT internet to local server for ssh and it created one fw rule and NAT. The wizard does't ask for a dst. service just the source service.
So far it was working. SSH from WAN to internal worked by using port 22.
But to keep it a little more save i want to use port 8022 from WAN. Therefore i changed the two rules as follows:FW-RuleS-Zone: anyS-Net: any anytimeD-Zone LAND-Net: #port2 is the WAN portservice: change from ssh to a new generated TCP_8022The rest was kept as built from the wizard
o-source: anyo-dest: #port2 o-service: changed from ssh to TCP_8022T-source(SNAT) originalT-dest(DNAT) xxxnas internal hostt-service(PAT) changed from original to sshibound-if #port2 outbound-if anyWhen i try to save this i get a message "Original and translated services don't match" and i am not able to store that.Any idea why? What i am doinf wrong? CheersTorsten
First, don't use the DNAT wizard of v18, It's garbage by design.
Torsten Froehlich1"Original and translated services don't match"
You have a mismatch between the source and destinations services. Be sure your only changing the destination port on both services, here's rule example for what your trying to do now:
External facing port (service)
Local port (service)
This will translate the external facing port 8022 on #Port2 (WAN) to the internal 22 on the machine "Saturn".
And here's the firewall rule.
And here's the result :)
In reply to Prism:
Thank first for your very fast response.
But your setup is nearly identical to the one the wizard generates.
Why do i need to setup a customer service for port 22 when ssh is already present?Ok, one different is if i chose ssg instead of my own service i can't save the configuration?
I followed your description 1 to 1 but is not working?Please have a look at the screenshots.