Forum Discussion

Mr_K_63985's avatar
Mr_K_63985
Icon for Nimbostratus rankNimbostratus
Apr 17, 2009

NAT - Outgoing Address

I am load-balancing imap/smtp using NAT, where BigIP is the gateway for that VLAN. With this setup I lose the server origin source IP for my logs because my log server is on a different VLAN, source IP all gets re-written as my VIP. Is there any option within BigIP where I can ask it not to rewrite source IP for packet destined to my log server (iRule?)? Another option is to move log server to the same VLAN as my member servers.

 

 

Any other suggestions?

 

 

Thank you.

 

 

Running 9.4.5 bigIP-LTM

2 Replies

  • Did you ever look into the following

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/snat.html

     

     

     

    CB
  • Thanks, I think this is what I want:

     

    when CLIENT_ACCEPTED {

     

    if { [IP::addr [IP::remote_addr] equals LOG_SERVER_IP] }{

     

    snat NODE_IP

     

    }

     

    }