Forum Discussion
Eric_Van_Tol_10
Nimbostratus
Aug 17, 2012iRule for bypassing SNAT when routing
We are changing the logical setup of our network behind our LTM and I'm trying to find out how to write an iRule that does what I need. Our servers sit on a private network behind the LTM and we want...
nitass
Employee
Aug 19, 2012it depends on who initiates a connection.
e.g.
by server
[root@ve10:Active] config b virtual fwd_outbound list
virtual fwd_outbound {
ip forward
destination 172.16.56.0:any
mask 255.255.255.0
vlans internal enable
}
by client
[root@ve10:Active] config b virtual fwd_inbound list
virtual fwd_inbound {
ip forward
snat automap
destination 172.16.20.0:any
mask 255.255.255.0
rules myrule
vlans external enable
}
[root@ve10:Active] config b rule myrule list
rule myrule {
when CLIENT_ACCEPTED {
if {[class match -- [IP::remote_addr] equals address_class]} {
snat none
}
}
}
[root@ve10:Active] config b class address_class list
class address_class {
network 172.16.56.0/24
}
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
