We have a server that is accessed externally by going to https://www.abcd.com:12345.
For convenience from within the LAN, we made the following static network definition:
Name: abdc.com
Type: Host
IPV4 Address: 192.168.1.10
Hostname: abcd.com
So we can access the server from within the LAN by going to https://abcd.com.
To access it from outside the LAN, we use the following DNAT rule:
Traffic from: ANY
Service: 12345
Going To: External WAN Address
Change destination to: 192.168.1.10
Change service to: HTTPS (443)
So all of that works fine, but entering https://abcd.com:12345 while we are internal doesn't work - we have to use it without the port number.
We also use some smartphone apps to access the server and we have to create two different profiles for them. One is for when we are external (https://abcd.com:12345) and one for when we are internal (https://abcd.com - without the port).
I tried creating a NAT rule to address this, but it didn't work:
Traffic from: Internal LAN Network
Service: 12345
Going To: Internal LAN Address
Change destination to: 192.168.1.10
Change service to: HTTPS (443)
I've also tried different "Going To" destinations: abcd.com, Internal LAN Network, and 192.168.1.10.
Any hep is greatly appreciated!
This thread was automatically locked due to age.