I have a Fortigate 80C at home and have a number of servers hosted: mail, git, web, RDP, voip etc.
Now I want these subdomains to redirect to certain internal IPs:
mail.domain.com > 192.168.0.200 git.domain.com > 192.168.0.201 www.domain.com > 192.168.0.202 rdp.domain.com > 192.168.0.203 voip.domain.com > 192.168.0.204
Now I have one external IP (X.Y.Z.20), so I was wondering is it possible for the Fortigate box to to pick up what subdomain has referred the client to its external IP (X.Y.Z.20) and then deal with the traffic accordingly?
Ideally I would like to
ssh in to mail, git and www to administer them without having to use random port numbers, I would like to be able to execute ssh like so:
ssh email@example.com, etc
Without having to specify a specific port.
I know I could set up NAT rules to redirect say port
X.Y.Z.20 to port
192.168.0.200 but would much rather just have the router utilise the FQDN to do a direct NAT from every port on the FQDN to every port on the internal box.
Any ideas would be greatly appreciated!