Forum Discussion
MDPF5_152674
Jul 04, 2014Altostratus
UDP Payload replace destination IP with iRules
Hi Community,
i want to ask you if is it possible to replace the destination IP of the UDP Payload
i think that it might be like this :
scan [IP::local_addr] "%d.%d.%d.%d" a b c d
set...
nitass
Jul 07, 2014Employee
but the command node and the command translate don't provide me the Destination IP Address translation that i want to implement
this is mine.
config
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm virtual udpfwd
ltm virtual udpfwd {
destination any:0
ip-protocol udp
mask any
profiles {
fastL4 { }
}
rules {
qux
}
source 0.0.0.0/0
translate-address disabled
translate-port disabled
vs-index 54
}
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm rule qux
ltm rule qux {
when CLIENT_ACCEPTED {
translate address enable
node 1.1.1.1
}
}
trace
[root@ve11a:Active:In Sync] config tcpdump -nni 0.0 -s0 udp port 1234
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on 0.0, link-type EN10MB (Ethernet), capture size 65535 bytes
08:19:44.971945 IP 200.200.200.101.32846 > 100.100.100.1.1234: UDP, length 5 in slot1/tmm0 lis=
08:19:44.972019 IP 200.200.200.101.32846 > 1.1.1.1.1234: UDP, length 5 out slot1/tmm0 lis=/Common/udpfwd
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