Forum Discussion
Todd_93078
Nimbostratus
Oct 22, 2012iRule for 1-to-1 NAT
I have two ISP connections (ISP 1 and ISP 2) setup in a wildcard outbound VC called Internet. Creative I know. I also have a single NAT setup for a Polycom Teleconference unit. I used a NAT to kee...
Todd_93078
Nimbostratus
Nov 08, 2012FYI,
For anyone with the original problem. Here is my solution:
SNAT pool for each Teleconference unit-
Tele-Pool-1 - 123.123.123.111
Tele-Pool-2 - 123.123.123.112
Tele-Pool-3 - 123.123.123.113
Tele-Pool-4 - 123.123.123.114
Contents of the "Tele-Out" iRule
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 10.10.7.1 ] }{
snat 123.123.123.111
pool ISP1-Only
} elseif { [IP::addr [IP::client_addr] equals 10.10.7.2 ] }{
snat 123.123.123.112
pool ISP1-Only
} elseif { [IP::addr [IP::client_addr] equals 10.10.7.3 ] }{
snat 123.123.123.113
pool ISP1-Only
} elseif { [IP::addr [IP::client_addr] equals 10.10.7.4 ] }{
snat 123.123.123.114
pool ISP1-Only
} else {
pool default_gateway_pool
}
}
On the outbound "internets" VS I then added the "Tele-Out" iRule
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects