Forum Discussion

JohnQuintas_910's avatar
JohnQuintas_910
Icon for Nimbostratus rankNimbostratus
Oct 16, 2015

SNAT outbound connections from pool members to virtual server IP for a specific outbound port

I have a virtual server for inbound ftp connections

Virtual server: 1.1.1.1:21, using the standard FTP profile and source_addr persistence, 30 min timeout

Pool Members:

10.0.0.10:21
10.0.0.11:21

I also have a wildcard IP forwarding virtual server to enable full routing on the LTM:

destination: 0.0.0.0
source: 0.0.0.0

How can I SNAT outbound FTP connections from 10.0.0.10 and 10.0.0.11 (originating from the pool members on the stardard ftp control port 21, with ftp-data on port 20) to the virtual server ip: 1.1.1.1, and allow all other outbound connections to pass normally without being SNATTED?

Can this be done via an "Intelligent SNAT" / iRule on the wildcard IP forwarding virtual server?

Any help would be greatly appreciated

16 Replies