Forum Discussion
Nyuk_Loong_Kiw_
Nimbostratus
19 years agousing irule to SNAT SMTP connections
Hi all,
Refer to attachment for what i am trying to setup
I need to SNAT outbound SMTP communication from both mail server A as well as mail server B to the same IP as the Virtual ...
Ian_Smith
18 years agoRet. Employee
make a wildcard forwarding virtual server for outbound connections
virtual wildcard_fwd_vs {
destination any:any
mask none
ip protocol tcp
}
and assign an iRule:
when CLIENT_ACCEPTED {
switch [ IP::client_addr ] {
10.0.0.1 { snat 10.0.200.1 } <<< this is mail server A being snat'd to the mx record address
10.0.0.2 { snat 10.0.200.1 } <<< and mail server B to the same address
default { snat none } <<< nothing else gets changed
}
}