use different VIP according to source IP?
I'm in the process of converting a Linux firewall at the office which had evolved over many years to a Fortigate setup.
I've used Fortigate for our hosting environment for a couple of years, so I'd not quite the newbie...
One thing we currently have set up is that incoming SSH connections get forwarded to an internal jump host, with the exception of incoming SSH connections from one particular IP address. I had expected that I could create a VIP address with a source IP filter for that address and have that go to a special internal host, and create another VIP address without a source IP filter that forwards the SSH connection to the jumphost. However it seems that the source IP filter is not considered when deciding whether the entry is a duplicate or not.
This is basically how it's done in the linux firewall with iptables:
iptables -t nat -A PREROUTING -s $special_ip -d $my_ip -p tcp --dport ssh -j DNAT --to-destination $specialhost
iptables -t nat -A PREROUTING -d $my_ip -p tcp --dport ssh -j DNAT --to-destination $jumphost
However I cannot figure out how to do this in my Fortigate. I could let ssh on the special host listen to an alternative port, which should work, but that's more of a kludge than a clean solution.
Is it at all possible?
