Azure Fortigate NAT issue - VIP webserver inaccessible when NAT is disabled
I just setup a Fortigate under Azure recently, we have a web server behind the Fortigate with Virtual IP configured. It is working fine, I could access the website externally. But when I disable NAT, web server is inaccessible. We would need the NAT disabled as there is a script from the webserver that needs to capture the original source IP of the web visitior.
Here's a sample of the network:
(Azure Public IP) --> Fortigate Port1 (WAN facing) --> Fortigate Port2 (LAN Port) --> Web Server IP
Where:
FG port1 = 10.1.1.5
FG port2 = 10.0.0.5
Webserver = 10.0.0.4
Currently the webserver only captures the 10.0.0.5 IP because of NAT, instead of the Original IP of web visitor.
What would be the best way for the webserver to capture the original IP of web visitor?
