Forum Discussion
Kamiza_49017
Nimbostratus
Jan 19, 2010Redirecting to External IP Address
Hi,
Is it possible by an irule to redirect based on based on the destination IP address all connections to another IP address on the internet?
I am pretty new to the Irules so I just want to know if it is feesable?
Thanks in advance for your help.
Regards
Brett
- hoolio
Cirrostratus
Hi Brett,when HTTP_REQUEST { Redirect all requests to a new location using a 302 status redirect HTTP::redirect "https://10.0.0.10/new_location.html" }
when HTTP_REQUEST { Redirect all requests to a new location using a 301 status HTTP::respond 301 Location "https://10.0.0.10/new_location.html" }
- spark_86682Historic F5 AccountI think that Kamiza could be asking about rerouting traffic in general, not just issuing an HTTP redirect. For example, having traffic originally bound for 1.2.3.4 be sent to 5.6.7.8 instead, in a way that's transparent to the sender. And, yes, an LTM could do this via iRules.
- Kamiza_49017
Nimbostratus
Sparks,Hoolio, - hoolio
Cirrostratus
Hi Brett, - Kamiza_49017
Nimbostratus
Hi Aaron, - hoolio
Cirrostratus
Can you provide more info though on what you're trying to accomplish? Are you wanting to simply accept connections to a single IP address on port 22 and load balance those connections to a pool of SFTP servers? Do you want to do something similar for the FTP servers? Why do you think you need an iRule versus a standard VIP and pool configuration? - Kamiza_49017
Nimbostratus
Hi Aaron, - hoolio
Cirrostratus
Hi Brett, - Kamiza_49017
Nimbostratus
Hi Aaron,
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