Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Mohamed_Gaber
Contributor

FortiADC URL change to Physical Server IP

When accessing Web servers through load balancer, the URL change to Physical Server IP. How to hide the physical server IP?

Mohamed Gaber
Cell : +201001615878
E-mail : mohamed.gaber@alkancit.com
Mohamed GaberCell : +201001615878E-mail : mohamed.gaber@alkancit.com
1 Solution
AEK
SuperUser
SuperUser

This is most probably made by your back-end web server, there is a redirection there that you just need to remove.

AEK

View solution in original post

AEK
2 REPLIES 2
AEK
SuperUser
SuperUser

This is most probably made by your back-end web server, there is a redirection there that you just need to remove.

AEK
AEK
Mohamed_Gaber

Thanks for the reply.

I took a dive in Linux to solve the problem to do routing on Linux. I found that I have to add a route like this on the servers "nmcli connection modify “eth0” +ipv4.routes “10.16.2.0/24 10.19.142.139"". The problem is for non-HTTPS traffic. If the client is accessing the real servers RDP or even HTTPS, but not through the virtual server IP, The reply will be sent to the load balancer not to the gateway. I did another dive to find the policy routing on Linux. I found that I have to use "nmcli connectionn modify eth0 ipv4.route-table 10" to add a routing table. And "nmcli connection modify eth0 +ipv4.routing-rules "priority 10 from 192.168.1.180 table 10"" to let packets from a source-routed according to a specific routing table.  I now try to find how to use a combination of application and destination to do policy routing. But the problem is when the user be accessing the real server directly. But I may ask them to not do that from this client subnet.

Mohamed Gaber
Cell : +201001615878
E-mail : mohamed.gaber@alkancit.com
Mohamed GaberCell : +201001615878E-mail : mohamed.gaber@alkancit.com
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors