Christopher_131
Sep 15, 2008Nimbostratus
Port forward SSH and leave regular http
I'm going insane trying to get rid of several virtual servers in favour of one iRule.
Firstly, I have a lot of servers/ports to direct to when there's an HTTP_REQUEST.
I have a "when HTTP_REQUEST" set up that seems to do nicely.
The ssh virtual server was forwarding from 2500 on the outside to 22 on the inside.
when CLIENT_ACCEPTED {
if { [ TCP::local_port serverside ] == 2500 } {
node 172.16.1.33 22
}
}
If I put that before or after the "when HTTP_REQUEST" I lose connectivity to the entire website completely.
Since this isn't an HTTP request, where do I put it, and what's wrong with my syntax? The above is not the only valid syntax I've tried.
any help would be much appreciated!
--Christopher