I am using network access vpn with snat automap feature in APM-network access. now as per requirement,to visible actual client ip in firewall from sslvpn connection is made. but at present firewall sees only bigip selfip because of automap feature. is there any best possible way to achieve that?
The X-Forward-For IP will only insert the “True ip” in the HTTP Header, it won’t change the IP that the firewall sees (Unless it can use Layer7 information)
Why are you using SNAT AUtomap in the firstplace ? Is this to get round a routing issue in a One-Arm deployment?
Can you create a two-arm deployment so Automap isn’t required ?
Thanks Thomson, actually I cant change the architecture . we are using multiple modules like LTM,APM,GTM in production.
Firewall is seeing correct public ip that is ok but as per flow it will only see http traffic whether client I=will access rdp,ftp or anything right? I want to see that public ip in application server side say for if I run wireshark on application server and client starts RDP for this server, I only see selfip ..
If you’re using it because the F5 Isn’t the DFGW for the servers you’re connecting to, then you’re going to have to play around with routing the traffic correctly some other way.
If there’s no good reason you’re using automap - Change the configuration.
just connected bigip internal vlan . one arm mode. not using external and internal type of setup. can anyone please help here. I tried irule, http profile but client ip is not visible at application server side. application is just a RDP server in my test lab. and in same server I am also running IIS .
I have the same question and same infrastructure as Domel and the author, actually I don’t want to use the SNAT on network access because in my Infrastructure we would like to know what have been done on network (src-ip provide by the VPN and not the SNAT). I know it is possible by using the F5 as the gateway but I can’t change the infrastructure. SNAT Pool is also a solution by spliting the network access by policy but the client want to know exactly what have been made on the network and what src IP was given without changing the infrastructure. Is it possible.
On the router in you network a route is required saying to get to Subnet3 (VPN-Pool) go via self-IP (or floating self-IP if you have a F5 cluster configure) of the F5 Internal VLAN
ip route 192.168.1.0 255.255.255.0 10.1.1.252 (where 10.1.1.252 is the F5 floating self-IP)
That was really it. You don’t need to do anything else.
As many said previously it all depends on your network and infrastructure but you should get a general idea - F5 is a router on it’s own.